joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2013a7c
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x2018310]
jae 0x2013bd7
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x2018320]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x2013bd7
push 1
push esi
push ebx
call fcn.020118c5
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x2013be1
push 2
push esi
push ebx
call fcn.020118c5
add esp, 0xc
cmp eax, 0xffffffff
je 0x2013be1
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x2013b84
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [ebp + 8], eax
jne 0x2013b1a
mov dword [0x2016a40], 0xc
or esi, 0xffffffff
jmp 0x2013bc4
push 0x8000
push ebx
call fcn.020144cf
pop ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, 0x1000
cmp edi, eax
jge 0x2013b35
mov eax, edi
push eax
push dword [ebp + 8]
push ebx
call fcn.02011959
add esp, 0xc
cmp eax, 0xffffffff
je 0x2013b4f
sub edi, eax
test edi, edi
jg 0x2013b2a
jmp 0x2013b65
cmp dword [0x2016a44], 5
jne 0x2013b62
mov dword [0x2016a40], 0xd
or esi, 0xffffffff
push dword [ebp - 4]
push ebx
call fcn.020144cf
pop ecx
pop ecx
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x2013bc4
jge 0x2013bc4
push 0
push dword [ebp + 0xc]
push ebx
call fcn.020118c5
push ebx
call fcn.02012821
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x2013bc4
mov dword [0x2016a40], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x2016a44], eax
push 0
push dword [ebp - 8]
push ebx
call fcn.020118c5
add esp, 0xc
mov eax, esi
pop edi
jmp 0x2013be4
mov dword [0x2016a40], 9
or eax, 0xffffffff
pop esi
pop ebx
leave
ret
Function at 0x2014319
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 8], ebx
je 0x2014383
push 0x3d
push esi
call fcn.0201459e
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], edi
je 0x2014383
cmp esi, edi
je 0x2014383
xor eax, eax
cmp byte [edi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x2016a6c]
cmp eax, dword [0x2016a70]
jne 0x2014369
call fcn.020142ba
mov dword [0x2016a6c], eax
cmp eax, ebx
jne 0x20143c2
cmp dword [ebp + 0xc], ebx
je 0x201438b
cmp dword [0x2016a74], ebx
je 0x201438b
call fcn.02013a07
test eax, eax
je 0x20143c2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x20144c3
push 4
pop ecx
call fcn.0200e703
cmp eax, ebx
mov dword [0x2016a6c], eax
je 0x2014383
mov dword [eax], ebx
cmp dword [0x2016a74], ebx
jne 0x20143c2
push 4
pop ecx
call fcn.0200e703
cmp eax, ebx
mov dword [0x2016a74], eax
je 0x2014383
mov dword [eax], ebx
mov ebx, dword [0x2016a6c]
sub edi, esi
push esi
call fcn.02014263
mov edi, eax
test edi, edi
pop ecx
jl 0x2014419
cmp dword [ebx], 0
je 0x2014419
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.020096e3
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x2014400
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov esi, eax
jmp 0x201444d
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x20143f7
mov edx, edi
shl edx, 2
mov ecx, ebx
call fcn.0200e78d
test eax, eax
mov esi, dword [ebp + 8]
je 0x201444d
jmp 0x2014448
cmp dword [ebp - 4], 0
jne 0x20144bc
test edi, edi
jge 0x2014429
neg edi
lea edx, [edi*4 + 8]
mov ecx, ebx
call fcn.0200e78d
test eax, eax
je 0x2014383
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x2016a6c], eax
cmp dword [ebp + 0xc], 0
je 0x20144a7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2014458
sub eax, edx
lea ecx, [eax + 2]
call fcn.0200e703
mov edi, eax
test edi, edi
je 0x20144a7
mov ecx, esi
sub eax, esi
mov dl, byte [ecx]
mov byte [eax + ecx], dl
inc ecx
test dl, dl
jne 0x2014473
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebp - 4]
mov byte [eax], dl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x20144a0
or dword [ebp - 8], 0xffffffff
push edi
call fcn.020096e3
pop ecx
cmp dword [ebp - 4], 0
je 0x20144b4
push esi
call fcn.020096e3
pop ecx
mov eax, dword [ebp - 8]
jmp 0x2014386
push esi
call fcn.020096e3
pop ecx
xor eax, eax
jmp 0x2014386
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x45a008], 0x8088405
inc edx
mov dword [ebx + 0x45a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x441a63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441a6a
ret
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x442473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x45c2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x45c2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x45b10c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44247a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450090]
jne 0x401abf
repz ret
jmp fcn.004028a8

Function at 0x40aad5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004076a5
and dword [ebp - 4], 0
cmp dword [0x455ef8], 0
mov ebx, eax
jne 0x40ab86
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ac37
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ac37
push eax
call fcn.00407633
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x455ef8], eax
call esi
push eax
call fcn.00407633
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x455efc], eax
call esi
push eax
call fcn.00407633
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x455f00], eax
call esi
push eax
call fcn.00407633
pop ecx
mov dword [0x455f08], eax
test eax, eax
je 0x40ab86
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407633
pop ecx
mov dword [0x455f04], eax
mov eax, dword [0x455f04]
cmp eax, ebx
je 0x40abde
cmp dword [0x455f08], ebx
je 0x40abde
push eax
call fcn.004076ae
push dword [0x455f08]
mov esi, eax
call fcn.004076ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40abde
test edi, edi
je 0x40abde
call esi
test eax, eax
je 0x40abd5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40abd5
test byte [ebp - 0xc], 1
jne 0x40abde
or dword [ebp + 0x10], 0x200000
jmp 0x40ac17
mov eax, dword [0x455efc]
cmp eax, ebx
je 0x40ac17
push eax
call fcn.004076ae
pop ecx
test eax, eax
je 0x40ac17
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ac17
mov eax, dword [0x455f00]
cmp eax, ebx
je 0x40ac17
push eax
call fcn.004076ae
pop ecx
test eax, eax
je 0x40ac17
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x455ef8]
call fcn.004076ae
pop ecx
test eax, eax
je 0x40ac37
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ac39
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d7cb
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1bcc52c], 0x930
jne 0x40d7f2
push str.voregigavis_dakofopelutolipihanat
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bcc52c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bcc248], eax
jne 0x40d82a
push str.fobalukijiharilaz_zamafuxavusiralozufa_xuvakolafexurefihomacoguxusoj
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
lea eax, [ebp - 0x1c]
push eax
push str.dezizafaxuveke_xidimucipuzivapad_dexeniyukofiw_xiyelocokuyiketatugedohunako_lolabehehekewobudi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret
Function at 0x40d83b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40d865
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0040d82c
mov eax, dword [ebp + 8]
add eax, esi
pop ecx
mov cl, byte [ebp - 4]
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40d847
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40d87d
or dword [0x1bcc53c], 0xffffffff
mov dword [0x1bcc538], 0xa62e7790
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4
Function at 0x411d62
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x417678], 0
push ebx
push esi
mov esi, 0x417680
jne 0x411d8e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x417698], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x417678], 1
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x411e2b
push 0x14
push 8
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x411e55
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x41767c]
test eax, eax
je 0x411dd0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x41767c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x411e5a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411e55
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x6fee4223
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x68aa4d18
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x2c9930af
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
mov ecx, 0x6c217cd6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x405f50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4917d1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x69e3c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
call fcn.00405b70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00405b70
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00405b70
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00405b70
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00405b70
mov byte [ebp - 4], 9
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004077b0
lea ecx, [ebp + 0x20]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004077b0
lea edx, [ebp + 0x38]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004077b0
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 0x50]
mov byte [eax + 0x48], cl
lea edx, [ebp + 0x54]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004077b0
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 0x6c]
mov byte [eax + 0x49], cl
lea edx, [ebp + 0x70]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.004077b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x88]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x4a], 0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004070e0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
call fcn.004070e0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x38]
call fcn.004070e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.004070e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x70]
call fcn.004070e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x84
Function at 0x409190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x69e3c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x4091b7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4091be
mov al, 1
jmp 0x4092a9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x40], edx
call fcn.0040c8d0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
call fcn.0040c8d0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.0040c900
add esp, 8
movzx eax, al
test eax, eax
je 0x409204
xor al, al
jmp 0x4092a9
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00410190
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x409246
cmp dword [ebp - 0x30], 1
je 0x40924d
cmp dword [ebp - 0x30], 3
je 0x40929c
jmp 0x4092a7
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x40927c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.00472d99
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x40927c
xor al, al
jmp 0x4092a9
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x409290
mov dword [ebp - 0x38], 1
jmp 0x409297
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x4092a9
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x4092a9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c7ae
mov esp, ebp
pop ebp
ret