joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4387f6
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5c911c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.005497d0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00551adb
push eax
call fcn.00403b20
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x57ec5c]
je 0x438960
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x438974
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x438974
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x43888f
mov eax, edi
jmp 0x4388be
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4388ac
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0043859b
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x4388b5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042221b
test eax, eax
je 0x4388e3
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004220a7
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4388e7
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042221b
test eax, eax
je 0x43890e
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.004220a7
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x438912
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0042221b
test eax, eax
je 0x43893a
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.004220a7
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x43893c
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x43894e
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x438960
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00547e39
leave
ret 4
xor eax, eax
jmp 0x438963
Function at 0x455568
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x455581
call fcn.00413780
mov esi, dword [eax + 0xc]
push 0x585564
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4555c3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4555c3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4555c3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004555cc
jmp 0x4555c5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x47c545
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x47c6d8
je 0x47c6fe
cmp eax, 0xa1
jb 0x47c73c
cmp eax, 0xa2
jbe 0x47c6fe
cmp eax, 0xa3
jbe 0x47c73c
cmp eax, 0xa5
jbe 0x47c6fe
cmp eax, 0xa6
jbe 0x47c73c
cmp eax, 0xa8
jbe 0x47c6fe
cmp eax, 0x100
jne 0x47c73c
cmp dword [edi + 0xc0], 0xffffffff
je 0x47c6fe
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x47c6fe
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x47c62d
sub eax, 1
jne 0x47c6fe
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x47c61c
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x578288]
mov ecx, edi
call esi
test eax, eax
jne 0x47c679
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x47c5f2
jmp 0x47c756
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x47c756
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x578288]
mov ecx, edi
call esi
test eax, eax
jne 0x47c679
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x47c644
jmp 0x47c756
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x578288]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x578288]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0040fbb5
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x578288]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x47c756
cmp eax, 0x200
jb 0x47c73c
cmp eax, 0x202
jbe 0x47c6fe
cmp eax, 0x203
jbe 0x47c73c
cmp eax, 0x205
jbe 0x47c6fe
add eax, 0xfffffdf9
cmp eax, 1
ja 0x47c73c
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x47c71d
cmp dword [eax + 0x20], ebx
je 0x47c71d
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x47c73c
cmp dword [eax + 0x20], ebx
je 0x47c73c
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x47c75b
lea eax, [edi + 0x2250]
test eax, eax
je 0x47c752
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x47c75b
xor eax, eax
inc eax
jmp 0x47c763
push esi
mov ecx, edi
call fcn.00474715
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x480c5d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5c911c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
je 0x480d40
cmp dword [ebp + 0xc], 0
je 0x480d40
xor edi, edi
call fcn.00413780
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x480d40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x480d40
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x480d56
push ebx
call fcn.00551b70
pop ecx
lea edx, [eax + 1]
lea eax, [edx + edx]
mov dword [ebp - 8], edx
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x480d17
cmp eax, 0x400
ja 0x480cfc
call fcn.00547e70
mov esi, esp
test esi, esi
je 0x480d12
mov dword [esi], 0xcccc
jmp 0x480d0f
push eax
call fcn.0055065b
mov esi, eax
pop ecx
test esi, esi
je 0x480d12
mov dword [esi], 0xdddd
add esi, 8
mov edx, dword [ebp - 8]
jmp 0x480d19
mov esi, edi
test esi, esi
je 0x480d56
push edx
push ebx
push esi
call fcn.0041c04e
test eax, eax
je 0x480d35
mov ecx, dword [ebp - 0xc]
push eax
call fcn.004825d8
xor edi, edi
inc edi
push esi
call fcn.004825f4
pop ecx
mov eax, edi
jmp 0x480d42
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00547e39
leave
ret 8
call fcn.0041b373
int3

Function at 0x496fa4
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5c911c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x496fd3
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x497000
cmp dword [0x5d080c], 0
jne 0x497000
lea eax, [esi - 0x41]
cmp eax, 0x19
jbe 0x496ffc
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x496ffc
push esi
call fcn.00559375
pop ecx
jmp 0x497073
mov eax, esi
jmp 0x497073
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.005497d0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x497083
call fcn.0041c397
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00547e39
leave
ret 4
call fcn.0041b373
int3
Function at 0x4eb9b1
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x5733b9
call fcn.00548371
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004026d0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x578650
call fcn.0041d1d5
cmp eax, 0xffffffff
jne 0x4eba8b
push 0
push 0x585520
lea ecx, [ebp - 0x4d0]
call fcn.0041d1d5
cmp eax, 0xffffffff
jne 0x4eba8b
push 0
push 0x57ce94
lea ecx, [ebp - 0x4d0]
call fcn.0041d1d5
cmp eax, 0xffffffff
jne 0x4eba8b
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004026d0
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4eba5a
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x578288]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.0040ab2b
jmp 0x4ebac4
lea eax, [ebp - 0x218]
push eax
call fcn.0054fea9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004029c0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0040ab2b
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4ebab1
mov edi, dword [ebp - 0x4cc]
jmp 0x4ebac4
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x578288]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040ab2b
mov eax, edi
call fcn.0054831b
ret

Function at 0x4fb5e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4fb698
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4fb694
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4fb694
cmp dword [ebx], eax
jne 0x4fb694
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4fb663
sub eax, 1
je 0x4fb631
sub eax, 1
jne 0x4fb694
mov edi, 0x428e
jmp 0x4fb668
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4fb668
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x578288]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4fb668
add edi, 3
jmp 0x4fb668
mov edi, 0x3ea0
push edi
call fcn.0041c23c
test eax, eax
je 0x4fb698
push edi
push eax
mov ecx, 0x5d1ce8
call fcn.0040ebc7
test eax, eax
je 0x4fb698
mov eax, dword [0x5d1ce8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x4fb68d
call fcn.0041b373
int3
Function at 0x561285
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00560f36

Function at 0x561290
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005610c0
Function at 0x10015057
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002dffa
call fcn.10016e35
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015074
xor eax, eax
jmp 0x10015151
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001514f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10015125
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000127b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000127b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10028a17
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x1001512f
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x100150a4
jmp 0x10015148
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016ddf
ret

Function at 0x10028a17
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10028a26
pop dword [ebp - 0x48]
mov eax, 0xf34c5e33
sub eax, 0xe349d40d
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x42140
push 0
mov eax, 0x4ec5f444
add eax, 0xc13d0d18
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x4f60
mov ebx, eax
mov edi, 0x1004bc00
add edi, dword [ebp - 0x48]
mov edx, 0x14629891
sub edx, 0x1b1854b9
sub dword [ebp - 0x3c], eax
mov esi, dword [edi]
add dword [ebp - 0x40], edi
xor esi, edx
sub dword [ebp - 0x44], ecx
mov dword [ebx], esi
add dword [ebp - 0x44], 0x2b1c6c1c
add ebx, 0xe1886269
sub ebx, 0xe1886265
add edi, 0x7e8ef1ce
add edi, 0x81710e36
loop 0x10028a79
add eax, 0x13053
xor ebx, ebx
add ebx, eax
add eax, 0x61245ffa
sub eax, 0x61245ff5
mov ecx, 0x90c25f74
add ecx, 0x7f3da08c
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4086ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4086d9
pop dword [ebp - 0x14]
mov eax, 0x3a9fa0d1
sub eax, 0x3a5f19f8
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x31ccf1ae
sub dword [ebp - 0x24], 0xe37aac63
mov dword [ebp - 0x20], 0x2ed48572
sub dword [ebp - 0x20], 0xfca1392d
mov dword [ebp - 0x1c], 0xd921158e
sub dword [ebp - 0x1c], 0x8cd4d160
mov dword [ebp - 0x18], 0x1c76973d
add dword [ebp - 0x18], 0xe38968c3
lea eax, [ebp - 0x24]
push eax
mov eax, 0x600c3586
add eax, 0xa0349ace
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x78dd79db
sub dword [ebp - 0x24], 0x46b1085
mov dword [ebp - 0x20], 0x3d172961
add dword [ebp - 0x20], 0x4553814
mov dword [ebp - 0x1c], 0xe1bb6569
add dword [ebp - 0x1c], 0x81b40703
mov dword [ebp - 0x18], 0xe82c7f2
sub dword [ebp - 0x18], 0xe82c7f2
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x83853ece
sub eax, 0x83446e82
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39c89
push 0
call eax
mov ecx, 0x490e
xor edi, edi
add edi, eax
mov ebx, 0xcf09f48b
sub ebx, 0xcec8448b
add ebx, dword [ebp - 0x14]
mov edx, 0x138789d7
add edx, 0x48e998ed
mov esi, dword [ebx]
add dword [ebp - 8], edi
sub esi, edx
add dword [ebp - 4], edx
mov dword [edi], esi
xor dword [ebp - 0xc], 0xdc9620a8
add edi, 4
add ebx, 0xe861304
add ebx, 0xf179ed00
loop 0x4087f7
add eax, 0x1170b
mov ebx, eax
add eax, 5
mov ecx, 0x5c74470e
add ecx, 0xa3cbb8f2
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040cffb
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040cffb
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040cffb
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040cffb
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040cffb
mov dword [0x41203c], eax
call fcn.0040cffb
test eax, eax
jge 0x402550
push 8
call fcn.0040cffb
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040cffb
pop ecx
push 1
call fcn.0040cffb
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040cffb
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040cffb
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040cffb
jmp 0x402495

Function at 0x40cffb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40d00a
pop dword [ebp - 0x20]
mov eax, 0x23483741
add eax, 0xdcf898c9
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3a39a
push 0
mov eax, 0xff07c226
add eax, 0x1391eb2
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x1977f061
add ecx, 0xe6885b99
mov edx, eax
mov ebx, 0x7277c826
add ebx, 0x8dc9739e
add ebx, dword [ebp - 0x20]
mov esi, 0x4165542
add dword [ebp - 8], ebx
mov edi, dword [ebx]
sub dword [ebp - 0x18], edx
sub edi, esi
xor dword [ebp - 0x1c], ecx
mov dword [edx], edi
sub dword [ebp - 0x1c], 0x4f2ca824
add edx, 4
add ebx, 0xff8712dc
add ebx, 0x78ed28
loop 0x40d063
add eax, 0x30c9fea7
sub eax, 0x30c8dbec
xor ebx, ebx
add ebx, eax
add eax, 0x6416dff8
sub eax, 0x6416dff3
mov ecx, 0x680bb9c8
sub ecx, 0x67cbb9c8
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x636464df
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0xe757815
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x2e01416e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306d8
call fcn.2e001511
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014eb5
test ax, ax
je 0x2e014216
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014216
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01420d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e027dbb
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014200
push esi
mov ecx, edi
call fcn.2e010e6c
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e027dbb
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00155b
ret

Function at 0x2e014ca3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030759
call fcn.2e02e6de
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014da7
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e014b8d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010d8f
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014d65
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014d5c
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e027dbb
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014d4e
push esi
mov ecx, edi
call fcn.2e010e6c
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e027dbb
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014da7
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014d9e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e027dbb
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e027dbb
pop ecx
pop ecx
mov al, bl
call fcn.2e02e6bc
ret 8
Function at 0x2e014de1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e03078d
call fcn.2e001511
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014e1b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014e81
lea eax, [ebp - 0x14]
mov edi, 0x2e033941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014e78
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014e78
inc eax
push eax
call fcn.2e027dbb
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014e6a
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010e6c
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e027dbb
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00155b
ret 8