joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43338e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459744]
jne 0x433398
repz ret
jmp fcn.00437ec8

Function at 0x441447
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004387bf
xor ebx, ebx
cmp dword [0x45ebdc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44151c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x441487
xor eax, eax
jmp 0x4415e0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x441480
push eax
call fcn.0043875c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45ebdc], eax
call esi
push eax
call fcn.0043875c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45ebe0], eax
call esi
push eax
call fcn.0043875c
mov dword [0x45ebe4], eax
lea eax, [ebp - 8]
push eax
call fcn.0043981d
test eax, eax
pop ecx
pop ecx
je 0x4414ea
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004337ad
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44151c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043875c
cmp eax, ebx
pop ecx
mov dword [0x45ebec], eax
je 0x44151c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043875c
pop ecx
mov dword [0x45ebe8], eax
mov eax, dword [0x45ebe8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x441595
cmp dword [0x45ebec], esi
je 0x441595
push eax
call fcn.004387c8
pop ecx
call eax
cmp eax, ebx
je 0x441562
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45ebec]
call fcn.004387c8
pop ecx
call eax
test eax, eax
je 0x441562
test byte [ebp - 0x18], 1
jne 0x441595
lea eax, [ebp - 0xc]
push eax
call fcn.00439854
test eax, eax
pop ecx
je 0x44157d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004337ad
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44158c
or dword [ebp + 0x10], 0x200000
jmp 0x4415c6
or dword [ebp + 0x10], 0x40000
jmp 0x4415c6
mov eax, dword [0x45ebe0]
cmp eax, esi
je 0x4415c6
push eax
call fcn.004387c8
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4415c6
mov eax, dword [0x45ebe4]
cmp eax, esi
je 0x4415c6
push dword [ebp - 4]
push eax
call fcn.004387c8
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x45ebdc]
call fcn.004387c8
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x401404
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [0x40dbdc]
not eax
mov dword [0x40dbdc], eax
push eax
push dword [0x406bec]
test eax, eax
jne 0x40142d
push dword [0x40dbd4]
call sub.winmm.dll_waveOutRestart
call sub.kernel32.dll_ResumeThread
jmp 0x40143d
call sub.kernel32.dll_SuspendThread
push dword [0x40dbd4]
call sub.winmm.dll_waveOutPause
pop eax
neg eax
ret

Function at 0x401a5e
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x40dbc8]
push ebx
cdq
idiv dword [0x40dbc4]
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov edi, eax
jne 0x401a80
xor al, al
jmp 0x401bf6
movzx eax, byte [esi + 0x128]
or dword [esi + 0x150], 0xffffffff
or dword [esi + 0x14c], 0xffffffff
mov dword [esi + 0x12c], eax
movsx eax, word [esi + 0x24]
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x158]
cmp eax, ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x154], ebx
je 0x401ad4
push esi
call eax
pop ecx
movsx eax, word [esi + 0x26]
push eax
push esi
call fcn.004018d9
add esp, 8
movsx eax, word [esi + 0x14]
imul eax, eax, 0x2b
push edi
mov ecx, eax
mov edi, 0x406c60
mov eax, ebx
rep stosd dword es:[edi], eax
pop edi
xor edx, edx
cmp word [esi + 0x14], bx
jle 0x401b1e
push ebp
mov ecx, 0x406c64
mov eax, 0x408380
mov dword [ecx], eax
inc edx
movsx ebp, word [esi + 0x14]
add eax, 0x58
add ecx, 0xac
cmp edx, ebp
jl 0x401b09
pop ebp
lea eax, [edi + edi*2]
mov dword [0x406bf8], esi
mov esi, sub.kernel32.dll_GlobalAlloc
shl eax, 1
push eax
push 0x40
call esi
mov dword [0x408334], eax
mov eax, dword [0x40dbc8]
mov edi, eax
shl edi, 2
push edi
push 0x40
call esi
or dword [0x40dbb4], 0xffffffff
mov dword [0x40dba4], edi
mov edi, 0x40dba0
push 0x20
push edi
push dword [0x40dbd4]
mov dword [0x40dbc0], eax
mov dword [0x40dbb0], 0xc
mov dword [0x40dba0], eax
mov dword [0x40dba8], ebx
mov dword [0x40dbac], ebx
call sub.winmm.dll_waveOutPrepareHeader
mov eax, dword [0x40dbc8]
lea eax, [eax*8 + 0x100]
push eax
push 0x40
call esi
mov dword [0x40dbd0], eax
add eax, 0xf
and al, 0xf0
mov dword [0x40db80], eax
mov dword [0x406bf0], ebx
call fcn.004016af
cmp dword [0x406bf0], ebx
jne 0x401bad
push 0x20
push edi
push dword [0x40dbd4]
call sub.winmm.dll_waveOutWrite
mov byte [0x406be8], bl
lea eax, [esp + 0x10]
push eax
push 2
push ebx
push 0x401829
push ebx
push ebx
call sub.kernel32.dll_CreateThread
mov dword [0x406bec], eax
push 0xf
push dword [0x406bec]
call sub.kernel32.dll_SetThreadPriority
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x406043
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406067
xor eax, eax
test eax, eax
je 0x406079
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406079
xor ecx, ecx
jmp 0x40607c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc

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 0x53abd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6b000]
push edi
jmp 0x53abea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53abf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53abe0
mov eax, 1
add ebx, ebx
jne 0x53ac03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53ac14
jne 0x53ac33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53ac33
dec eax
add ebx, ebx
jne 0x53ac20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53abf8
add ebx, ebx
jne 0x53ac2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53ac85
xor ecx, ecx
sub eax, 3
jb 0x53ac4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53acba
sar eax, 1
mov ebp, eax
jmp 0x53ac56
add ebx, ebx
jne 0x53ac56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53ac24
inc ecx
add ebx, ebx
jne 0x53ac64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53ac24
add ebx, ebx
jne 0x53ac71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53ac66
jne 0x53ac82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53ac66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53aca4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53ac96
jmp 0x53abe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53aca4
add edi, ecx
jmp 0x53abe6
pop esi
mov edi, esi
mov ecx, 0xa02
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53acc2
cmp byte [edi], 0xa
jne 0x53acc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53acc7
lea edi, [esi + 0x137000]
mov eax, dword [edi]
or eax, eax
je 0x53ad3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13a3f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13a4a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53acf4
mov ecx, edi
jns 0x53ad23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13a4a8]
or eax, eax
je 0x53ad39
mov dword [ebx], eax
add ebx, 4
jmp 0x53ad11
call dword [esi + 0x13a4a4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x53ad70
cmp al, 0xef
ja 0x53ad63
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53ad45
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53ad52
mov ebp, dword [esi + 0x13a4ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x53ada4
sub esp, 0xffffff80
jmp 0x40949f
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x403100
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x8fb080], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0xc], eax
jne 0x403139
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [0x4dbef8]
mov ebx, dword [0x4dbefc]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x28], ecx
call fcn.004030f0
mov edx, dword [0x4dbf00]
mov eax, dword [0x4dbf04]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x403180
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x8fb080]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4031e8
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0x4025c0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
xor edx, edx
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8fb080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x403202
mov dword [0x8fa61c], 0xedeb2e40
jmp 0x403214
cmp ecx, 0x3eb
jne 0x403214
mov dword [0x8f9fd0], 0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add edx, esi
mov dword [ebp - 0x14], edx
mov edx, esi
shr edx, cl
mov dword [0x8fa618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x8fb080], 0xc
jne 0x403272
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x10]
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, edx
xor ecx, eax
mov dword [ebp - 4], ecx
sub esi, ecx
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
sub edi, 1
jne 0x403180
cmp dword [0x8fb080], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x4032d9
push 0
push 0x4025f4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4032f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8fb080]
mov ecx, dword [0x8f9fd4]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x4033ca
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x8fb080], 0x959
jne 0x4033b0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x402628
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403100
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403730
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9e08
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x40376b
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x403758
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x403792
cmp ebx, 0x785074d5
jne 0x40379b
inc esi
cmp esi, 0x1c1b
jl 0x403780
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x4037cd
inc esi
cmp esi, 0x4f6a4
jl 0x4037b0
cmp dword [0x8fb080], 0x400
jne 0x403810
push 0
lea ecx, [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x30]
call fcn.004038a0
push 0
mov dword [ebp - 4], 0
call fcn.00403bd4
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004038c0
mov edx, dword [0x4dc13c]
mov eax, dword [0x4dc110]
mov dword [0x8fb080], edx
mov dword [0x8fb084], eax
call fcn.004033f0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40384a
cmp ebx, 0x785074d5
jne 0x403853
inc esi
cmp esi, 0x11915
jl 0x403836
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
nop
cmp dword [0x8fb080], 0x51f
jne 0x403872
lea ecx, [ebp - 0x54]
push ecx
call esi
sub edi, 1
jne 0x403860
mov eax, dword [0x8f9fd4]
mov dword [0x8fa614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404540
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4db0c8]
jne 0x40454a
repz ret
jmp fcn.00406cae
Function at 0x4068cf
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.004045c1
and dword [ebp - 4], 0
cmp dword [0x4dca10], 0
mov ebx, eax
jne 0x406980
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a31
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x406a31
push eax
call fcn.0040454f
mov dword [esp], 0x4019dc
push edi
mov dword [0x4dca10], eax
call esi
push eax
call fcn.0040454f
mov dword [esp], 0x4019c8
push edi
mov dword [0x4dca14], eax
call esi
push eax
call fcn.0040454f
mov dword [esp], 0x4019ac
push edi
mov dword [0x4dca18], eax
call esi
push eax
call fcn.0040454f
pop ecx
mov dword [0x4dca20], eax
test eax, eax
je 0x406980
push 0x401994
push edi
call esi
push eax
call fcn.0040454f
pop ecx
mov dword [0x4dca1c], eax
mov eax, dword [0x4dca1c]
cmp eax, ebx
je 0x4069d8
cmp dword [0x4dca20], ebx
je 0x4069d8
push eax
call fcn.004045ca
push dword [0x4dca20]
mov esi, eax
call fcn.004045ca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069d8
test edi, edi
je 0x4069d8
call esi
test eax, eax
je 0x4069cf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069cf
test byte [ebp - 0xc], 1
jne 0x4069d8
or dword [ebp + 0x10], 0x200000
jmp 0x406a11
mov eax, dword [0x4dca14]
cmp eax, ebx
je 0x406a11
push eax
call fcn.004045ca
pop ecx
test eax, eax
je 0x406a11
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a11
mov eax, dword [0x4dca18]
cmp eax, ebx
je 0x406a11
push eax
call fcn.004045ca
pop ecx
test eax, eax
je 0x406a11
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4dca10]
call fcn.004045ca
pop ecx
test eax, eax
je 0x406a31
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a33
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x54c31bf6
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x31476581
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4372a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4372cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4372cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4014d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x134]
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp], eax
lea ebx, [ebp - 0x10c]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x40159e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.004014d1
test eax, eax
jne 0x401638
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x4020ce
sub eax, 0x40166c
mov dword [esp], 0x40166c
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401638
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.004013d1
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0040144c
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], str.g_n_p
call fcn.00401dd1
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret