joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425a60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.0040cf50
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.00425490
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.004254e0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00425530
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.00425690
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.00425720
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.004256e0
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x48fd68
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x425b4e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.0040cde0
test al, al
je 0x425b0f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push ecx
push edx
call fcn.0040cde0
test al, al
je 0x425b36
xor eax, eax
mov word [esi], 3
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea eax, [esp + 0x64]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0040cde0
test al, al
je 0x425b4e
mov word [esi], 1
xor eax, eax
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4

Function at 0x425c90
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x426820
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x140
push esi
mov esi, dword [esp + 0x154]
cmp esi, 0x40
jle 0x426876
lea eax, [esp + 0xec]
push eax
call fcn.00425c90
mov ecx, dword [esp + 0x154]
push esi
lea edx, [esp + 0xf4]
push ecx
push edx
call fcn.00425cc0
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00425d70
add esp, 0x18
lea edx, [esp + 4]
mov esi, 0x10
jmp 0x42687d
mov edx, dword [esp + 0x150]
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x18]
test esi, esi
rep stosd dword es:[edi], eax
jle 0x4268ba
mov edi, edx
lea edx, [esp + 0x18]
sub edi, edx
lea ecx, [esp + eax + 0x18]
inc eax
cmp eax, esi
mov dl, byte [edi + ecx]
mov byte [esp + eax + 0xaf], dl
mov byte [ecx], dl
jl 0x4268a5
xor eax, eax
pop edi
mov dl, byte [esp + eax + 0xac]
mov cl, byte [esp + eax + 0x14]
xor dl, 0x36
xor cl, 0x5c
mov byte [esp + eax + 0xac], dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x40
jl 0x4268bd
lea eax, [esp + 0x54]
push eax
call fcn.00425c90
lea ecx, [esp + 0xb0]
push 0x40
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.00425cc0
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x158]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.00425cc0
mov esi, dword [esp + 0x174]
lea eax, [esp + 0x70]
push eax
push esi
call fcn.00425d70
lea ecx, [esp + 0x78]
push ecx
call fcn.00425c90
lea edx, [esp + 0x3c]
push 0x40
lea eax, [esp + 0x80]
push edx
push eax
call fcn.00425cc0
push 0x10
lea ecx, [esp + 0x8c]
push esi
push ecx
call fcn.00425cc0
add esp, 0x40
lea edx, [esp + 0x54]
push edx
push esi
call fcn.00425d70
add esp, 8
pop esi
add esp, 0x140
ret

Function at 0x4341eb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4531f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043412a
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00437d30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43423a
cmp dword [ebp - 0x1c], 5
jb 0x434252
jmp 0x43424e
cmp dword [ebp - 0x10], 1
jne 0x434252
cmp dword [ebp - 0x1c], 4
ja 0x43424e
jne 0x434252
cmp dword [ebp - 0x18], 0
jbe 0x434252
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44c0b4
call fcn.00406b30
test eax, eax
jge 0x434273
mov byte [0x4917a8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043436f
add ebp, 0x78
leave
ret

Function at 0x43436f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4531f0]
jne 0x434379
repz ret
jmp fcn.00437fa6
Function at 0x437815
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x437852
cmp dword [ebp + 0x14], edi
je 0x437852
cmp ecx, edi
jne 0x437859
call fcn.00438530
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00435bab
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43786d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43788e
cmp ebx, 0xffffffff
je 0x43787d
push ebx
push edi
push ecx
call fcn.00437d30
add esp, 0xc
cmp esi, edi
je 0x43783a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43783a
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4378aa
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4378b1
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4379a2
test word [esi + 0xc], 0x10c
je 0x437905
mov eax, dword [esi + 4]
test eax, eax
je 0x437905
jl 0x437a03
cmp ebx, eax
mov edi, ebx
jb 0x4378d6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4379aa
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00434753
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43799a
cmp ebx, dword [ebp - 0xc]
jb 0x437972
cmp dword [ebp - 0xc], 0
je 0x43792f
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x437924
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43792b
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43793a
mov eax, bind
cmp ebx, eax
ja 0x43793a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4379d6
push eax
push dword [ebp - 8]
push esi
call fcn.0043e4d6
pop ecx
push eax
call fcn.0043fb13
add esp, 0xc
test eax, eax
je 0x437a15
cmp eax, 0xffffffff
je 0x437a03
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43799a
push esi
call fcn.0043f08e
cmp eax, 0xffffffff
pop ecx
je 0x437a07
cmp dword [ebp - 4], 0
je 0x4379d6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4378b9
mov eax, dword [ebp + 0x14]
jmp 0x437854
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4379c1
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00437d30
add esp, 0xc
call fcn.00438530
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43784a
cmp dword [ebp + 0xc], 0xffffffff
je 0x4379ec
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00437d30
add esp, 0xc
call fcn.00438530
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43784a
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x437854
or dword [esi + 0xc], 0x10
jmp 0x437a07
Function at 0x439d1f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4534a8]
je 0x439d3a
inc edi
cmp edi, 0x17
jb 0x439d2b
cmp edi, 0x17
jae 0x439eba
push ebp
push 3
call fcn.004408f5
cmp eax, 1
pop ecx
je 0x439e86
push 3
call fcn.004408f5
test eax, eax
pop ecx
jne 0x439d6e
cmp dword [0x452f4c], 1
je 0x439e86
cmp ebx, 0xfc
je 0x439eb9
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4910a8
push ebp
call fcn.0043b388
add esp, 0xc
test eax, eax
je 0x439da4
push esi
push esi
push esi
push esi
push esi
call fcn.00435aaf
add esp, 0x14
push 0x104
mov esi, 0x4910c1
push esi
push 0
mov byte [0x4911c5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x439de8
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043b388
add esp, 0xc
test eax, eax
je 0x439de8
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00435aaf
add esp, 0x14
push esi
call fcn.0043b3f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x439e2d
push esi
call fcn.0043b3f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4913bc
push 0x44cfb4
sub ecx, eax
push ecx
push eax
call fcn.00440842
add esp, 0x14
test eax, eax
je 0x439e2d
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00435aaf
add esp, 0x14
jmp 0x439e2f
xor esi, esi
push 0x44cfb0
push ebx
push ebp
call fcn.004407d1
add esp, 0xc
test eax, eax
je 0x439e4f
push esi
push esi
push esi
push esi
push esi
call fcn.00435aaf
add esp, 0x14
push dword [edi*8 + 0x4534ac]
push ebx
push ebp
call fcn.004407d1
add esp, 0xc
test eax, eax
je 0x439e71
push esi
push esi
push esi
push esi
push esi
call fcn.00435aaf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00440614
add esp, 0xc
jmp 0x439eb9
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x439eb9
cmp ebp, 0xffffffff
je 0x439eb9
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4534ac]
push dword [esi]
call fcn.0043b3f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x440614
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004386be
xor ebx, ebx
cmp dword [0x49174c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4406ea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4407ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4407ca
push eax
call fcn.00438650
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49174c], eax
call esi
push eax
call fcn.00438650
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x491750], eax
call esi
push eax
call fcn.00438650
mov dword [0x491754], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00439aac
test eax, eax
pop ecx
pop ecx
je 0x4406b8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00435aaf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4406ea
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00438650
cmp eax, ebx
pop ecx
mov dword [0x49175c], eax
je 0x4406ea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00438650
pop ecx
mov dword [0x491758], eax
mov eax, dword [0x491758]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44076f
cmp dword [0x49175c], ecx
je 0x44076f
push eax
call fcn.004386c7
push dword [0x49175c]
mov esi, eax
call fcn.004386c7
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44076f
cmp edi, ebx
je 0x44076f
call esi
cmp eax, ebx
je 0x44073c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44073c
test byte [ebp - 0x18], 1
jne 0x44076f
lea eax, [ebp - 0x10]
push eax
call fcn.00439ae3
test eax, eax
pop ecx
je 0x440757
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00435aaf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x440766
or dword [ebp + 0x10], 0x200000
jmp 0x4407aa
or dword [ebp + 0x10], 0x40000
jmp 0x4407aa
mov eax, dword [0x491750]
cmp eax, dword [ebp - 8]
je 0x4407aa
push eax
call fcn.004386c7
cmp eax, ebx
pop ecx
je 0x4407aa
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4407aa
mov eax, dword [0x491754]
cmp eax, dword [ebp - 8]
je 0x4407aa
push eax
call fcn.004386c7
cmp eax, ebx
pop ecx
je 0x4407aa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49174c]
call fcn.004386c7
cmp eax, ebx
pop ecx
je 0x4407ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4407cc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x42165e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x42166d
pop dword [ebp - 0x40]
mov eax, 0x5e9f52dd
add eax, 0xa1a2c390
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x10532872
sub dword [ebp - 0x50], 0xc200e327
mov dword [ebp - 0x4c], 0xf3f72fa2
add dword [ebp - 0x4c], 0x3e3c1ca3
mov dword [ebp - 0x48], 0x4c6732f5
add dword [ebp - 0x48], 0xffe51139
mov dword [ebp - 0x44], 0x895407d5
sub dword [ebp - 0x44], 0x895407d5
lea eax, [ebp - 0x50]
push eax
mov eax, 0x7a473abd
sub eax, 0x7a050a49
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xa6cd1ada
add dword [ebp - 0x50], 0xcda54e7c
mov dword [ebp - 0x4c], 0xfae9ebfb
sub dword [ebp - 0x4c], 0xb97d8a86
mov dword [ebp - 0x48], 0xf41df2fb
sub dword [ebp - 0x48], 0x90ae868f
mov dword [ebp - 0x44], 0xe1f916c
add dword [ebp - 0x44], 0xf1e06e94
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xa271e79c
add eax, 0x5dd04988
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3d489
push 0
call eax
mov ecx, 0x873dca83
sub ecx, 0x873d8458
xor edx, edx
add edx, eax
mov esi, 0x165b4af
sub esi, 0x12270af
add esi, dword [ebp - 0x40]
mov ebx, 0x48747d9b
sub ebx, 0xf2ca96a1
add dword [ebp - 0x20], 0xa9dbd1a5
mov edi, dword [esi]
xor dword [ebp - 8], esi
add edi, ebx
add dword [ebp - 0x1c], ebx
mov dword [edx], edi
add dword [ebp - 0x2c], 0x17318221
add edx, 0xa8ccc063
add edx, 0x57333fa1
add esi, 0x75b67413
add esi, 0x8a498bf1
loop 0x421791
add eax, 0x10b7f
mov ebx, eax
add eax, 5
mov ecx, 0x331cf722
sub ecx, 0x32dcf722
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x414690
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47fa6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004743cc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414712
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00471c4d
mov eax, dword [eax]
push 0x4ad1d0
push eax
call fcn.00464ac4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00474657
test bl, bl
je 0x414712
push 0x4ad1d0
lea ecx, [esp + 0xc]
call fcn.004749e7
push 0x4b0d4c
lea ecx, [esp + 0xc]
call fcn.004749e7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41474e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00474657
jmp 0x414819
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4147d2
lea edx, [esp + 0x7c]
push 0x4b0d48
push edx
call fcn.00464ac4
add esp, 8
test eax, eax
je 0x4147d2
lea eax, [esp + 0x7c]
push 0x4b0d44
push eax
call fcn.00464ac4
add esp, 8
test eax, eax
je 0x4147d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414762
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00474657
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x415010
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x415072
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x415080
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47faeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b9064]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4151b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4150e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00474657
xor eax, eax
jmp 0x41522f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00474794
push esi
lea ecx, [esp + 0xc]
call fcn.00474a23
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41520d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00415010
test eax, eax
jne 0x41520d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00415010
test eax, eax
jne 0x41520d
lea eax, [esp + 0x14]
push 0x4b0d60
push eax
call fcn.00465bd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4151ec
lea ecx, [esp + 0x14]
push 0x4b0d5c
push ecx
call fcn.00465b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x4151ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4151ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00474744
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4150fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00474657
xor eax, eax
jmp 0x41522f
mov byte [esi], 0
push 0x4b0d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00474657
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x41d656
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x41d67e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x4277c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42782e
cmp si, 0x69
ja 0x42782e
add esi, 0xffd0
cmp si, 0x11
je 0x4277fe
push 0x11
call edi
test ax, ax
jge 0x4277fe
or esi, 0x2000
cmp si, 0x10
je 0x427813
push 0x10
call edi
test ax, ax
jge 0x427813
or esi, 0x4000
cmp si, 0x12
je 0x427828
push 0x12
call edi
test ax, ax
jge 0x427828
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42783b
mov esi, 0xbd
jmp 0x4277ef
cmp si, 0x6e
jne 0x427848
mov esi, 0xbe
jmp 0x4277ef
cmp si, 0x6f
jne 0x4277e9
mov esi, 0xbf
jmp 0x4277ef

Function at 0x428ee0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c97d0]
xor edx, edx
cmp eax, edx
jne 0x428f06
xor eax, eax
mov byte [eax + 0x4c96d0], al
inc eax
cmp eax, 0x100
jl 0x428eee
mov dword [0x4c97d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c96d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x428f97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x428f6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x428f38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x429010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x429063
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42904a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret