joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eb7a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2030
call fcn.00426630
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040c040
lea ecx, [ebp - 0x28]
call fcn.0040c040
mov eax, dword [ebp + 8]
push eax
xor esi, esi
call fcn.00457f8a
mov edi, eax
movzx eax, word [edi]
xor bl, bl
mov dword [ebp - 8], edi
test ax, ax
je 0x45eca4
mov edi, edi
inc esi
cmp ax, 0x25
jne 0x45ec7f
cmp word [edi + esi*2], ax
jne 0x45ebdd
push 0x25
lea eax, [ebp - 0x18]
mov bl, 1
call fcn.00403450
inc esi
jmp 0x45ec88
mov ebx, 0x4956ec
lea eax, [ebp - 0x28]
call fcn.004022c0
movzx eax, word [edi + esi*2]
cmp eax, 0x25
je 0x45ec16
lea esp, [esp]
test ax, ax
je 0x45ec16
movzx eax, ax
push eax
lea eax, [ebp - 0x28]
call fcn.00403450
movzx eax, word [edi + esi*2 + 2]
inc esi
cmp eax, 0x25
jne 0x45ebfa
cmp word [edi + esi*2], 0
je 0x45ecbd
mov eax, dword [ebp - 0x28]
push 0xfff
lea edx, [ebp - 0x202c]
push edx
xor ecx, ecx
push eax
inc esi
mov word [ebp - 0x202c], cx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
lea eax, [ebp - 0x18]
je 0x45ec5a
lea edi, [ebp - 0x202c]
call fcn.0040d650
mov edi, dword [ebp - 8]
mov bl, 1
jmp 0x45ec88
mov edi, 0x49cd34
mov bl, 1
call fcn.0040d650
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x18]
call fcn.0040c120
lea eax, [ebp - 0x18]
call fcn.0040d650
mov edi, dword [ebp - 8]
jmp 0x45ec88
push eax
lea eax, [ebp - 0x18]
call fcn.00403450
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x45ebba
test bl, bl
je 0x45eca4
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x18]
call fcn.0040e9e0
lea ecx, [ebp - 0x28]
call fcn.004023b0
lea ecx, [ebp - 0x18]
call fcn.004023b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x49cd34
lea eax, [ebp - 0x18]
call fcn.0040d650
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x18]
call fcn.0040c120
jmp 0x45ec99
Function at 0x462217
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004129c0
add esp, 0xc
mov eax, 1
lea ecx, [ebp - 0x4c]
push ecx
push 0
push esi
mov dword [ebp - 0x4c], 0x7c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
call fcn.00412941
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x46227a
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
push 0
mov ecx, edi
call fcn.00403fa0
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
push 0
lea ecx, [edi + 0x10]
call fcn.00403fa0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
push 0
lea ecx, [edi + 0x20]
call fcn.00403fa0
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
push 0
lea ecx, [edi + 0x30]
call fcn.00403fa0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
lea esi, [edi + 0x40]
push 0
mov ecx, esi
call fcn.00403fa0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
lea ecx, [edi + 0x50]
push 0
call fcn.00403fa0
lea eax, [edi + 0x50]
push eax
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.00451525
push eax
lea esi, [edi + 0x60]
call fcn.0040e580
lea ecx, [ebp - 0x10]
call fcn.004023b0
mov ax, word [ebp - 0x34]
mov word [edi + 0x78], ax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x74], eax
dec eax
je 0x462332
dec eax
je 0x462320
mov dword [edi + 0x70], 3
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x70], 2
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x70], 1
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x462481
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0xd0], 0
je 0x4624c3
test al, al
je 0x4624c3
lea eax, [esi + 0xd4]
push eax
call fcn.004358db
push esi
push 0
push 0x46246f
call fcn.00415784
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
pop esi
pop ecx
pop ebp
ret 8
push eax
push esi
call fcn.00462344
pop esi
pop ecx
pop ebp
ret 8
Function at 0x468bb6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, 0x4956ec
call fcn.004022c0
mov esi, dword [ebp + 8]
push esi
call fcn.0043a30d
test al, al
jne 0x468c41
mov eax, dword [esi]
push edi
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x468bf0
mov edi, 0x7fff
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412a89
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push ebx
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov word [esi + edi*2], dx
test eax, eax
mov eax, dword [ebp + 0xc]
pop edi
jne 0x468c49
mov ebx, 0x4956ec
call fcn.004022c0
push esi
call fcn.00411076
add esp, 4
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov ebx, esi
call fcn.004022c0
push esi
call fcn.00411076
add esp, 4
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x4698af
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0xb0
push edx
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x4698e4
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi]
push 0
push 0
push 0xe
push ecx
call edi
mov edi, eax
test edi, edi
je 0x4698da
cmp edi, dword [ebp - 8]
jb 0x4698da
cmp edi, dword [ebp - 4]
jb 0x4698da
push ebx
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412a89
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push ebx
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x469963
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x469941
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp - 8]
lea ebx, [esi + eax*2]
mov eax, dword [ebp + 0xc]
call fcn.004022c0
push esi
call fcn.00411076
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call fcn.00411076
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x46c05f
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea ecx, [ebp - 0x10]
push ecx
mov eax, 2
push edx
mov word [ebx], ax
call fcn.00461241
mov eax, dword [eax]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
lea esi, [ebp - 0x10]
mov edi, eax
call fcn.004014b0
cmp edi, 0xffffffff
jne 0x46c0d1
mov eax, dword [ebp + 0x10]
push 0x49bf30
push eax
call fcn.00451509
add esp, 8
test al, al
je 0x46c0d1
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add eax, ecx
call fcn.004040c0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 2
jmp 0x46c0b1
mov eax, dword [ebp + 0x14]
lea ecx, [eax - 1]
mov dword [ebx + 4], edi
cmp ecx, 0xfffe
ja 0x46c0cb
push eax
call dword [sym.imp.WSOCK32.dll_htons]
pop edi
mov word [ebx + 2], ax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46f313
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov al, byte [0x4a85cf]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x8000
push edi
mov byte [ebp - 4], al
call fcn.00414359
add esp, 4
push eax
call fcn.0041426e
add esp, 8
mov esi, eax
push ebx
mov dword [ebp - 8], esi
call fcn.004480d3
test al, al
je 0x46f370
push edi
push ebx
call fcn.0044749f
push eax
push 1
push ebx
call fcn.0046ee27
push eax
call fcn.004144d6
add esp, 0x10
mov ebx, eax
jmp 0x46f3bb
push esi
jmp 0x46f3ce
lea esi, [ebp - 0x1c]
call fcn.0040d750
push ebx
call fcn.00457f69
push esi
push eax
call fcn.0045f366
mov edx, dword [ebp - 0x1c]
push edx
push 0x498a74
push edi
call fcn.00414550
add esp, 0xc
cmp byte [ebp - 4], 0
mov dword [ebp - 0xc], eax
je 0x46f3ad
push ebx
call fcn.00457f8a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea esi, [ebp - 0x1c]
call fcn.004014b0
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push edi
call fcn.004147e6
add esp, 4
cmp esi, 0xffffffff
jne 0x46f36d
push 0x4000
push edi
call fcn.00414359
add esp, 4
push eax
call fcn.0041426e
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f894
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
mov byte [ebp + 0xb], 1
cmp dword [ebx + 4], esi
je 0x46f9af
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
mov ecx, dword [ebp + 0xc]
mov byte [edx], 0
mov byte [eax], 0
mov dword [ecx], esi
lea ebx, [ebx]
push esi
push ebx
call fcn.0043a39b
movzx eax, word [eax]
cmp eax, 0x2b
je 0x46f8f7
cmp eax, 0x5e
je 0x46f8f2
cmp eax, 0x21
je 0x46f8f2
cmp eax, 0x23
jne 0x46f92a
cmp eax, 0x2b
jne 0x46f900
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
inc esi
jmp 0x46f8d4
cmp eax, 0x5e
jne 0x46f90e
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
inc esi
jmp 0x46f8d4
cmp eax, 0x21
jne 0x46f91c
mov ecx, dword [ebp + 0x18]
mov byte [ecx], 1
inc esi
jmp 0x46f8d4
cmp eax, 0x23
jne 0x46f927
mov edx, dword [ebp + 0x1c]
mov byte [edx], 1
inc esi
jmp 0x46f8d4
push esi
inc esi
push ebx
mov dword [ebp + 0x1c], esi
call fcn.0043a39b
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x46fa18
mov eax, 0x40
lea ecx, [ebp - 0x10]
call fcn.00401520
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x7d
call fcn.0046761b
test al, al
je 0x46f9f4
mov edx, dword [ebp - 0x10]
mov eax, dword [edi*4 + 0x4a3a38]
push edx
push eax
call fcn.00412dcd
add esp, 8
test eax, eax
je 0x46f984
inc edi
cmp edi, 0x62
jl 0x46f966
cmp edi, 0x62
jne 0x46f9eb
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.004022a0
movzx ecx, word [eax]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov edx, dword [ebp + 0xc]
cwde
mov dword [edx], eax
cmp eax, 0xffffffff
jne 0x46f9ba
mov ecx, esi
call fcn.004023b0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, 0x200
je 0x46f9c7
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
test eax, 0x400
je 0x46f9d4
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
test eax, 0x100
je 0x46fa0e
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
mov byte [eax], 1
call fcn.004023b0
jmp 0x46fa51
cmp byte [edi + 0x4a3bc0], 0
je 0x46fa02
lea ecx, [ebp - 0x10]
mov byte [ebp + 0xb], 0
call fcn.004023b0
jmp 0x46fa51
movzx ecx, byte [edi + str._f_b_b..__reepqrstuvwxyz________t___]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
lea ecx, [ebp - 0x10]
call fcn.004023b0
jmp 0x46fa51
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov ecx, dword [ebp + 0xc]
cwde
mov dword [ecx], eax
cmp eax, 0xffffffff
je 0x46f9af
test eax, 0x200
je 0x46fa37
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
test eax, 0x400
je 0x46fa44
mov ecx, dword [ebp + 0x18]
mov byte [ecx], 1
test eax, 0x100
je 0x46fa51
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp + 0xc]
and dword [eax], 0xff
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42b8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x514ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x568e30]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov eax, dword [ebx]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1c], ebx
call dword [0x518290]
mov dword [esp + 0x28], 1
mov esi, dword [ebx + 0x24]
lea edi, [ebx + 0xc]
lea ecx, [esp + 0x18]
call fcn.00450960
mov eax, dword [edi + 0x18]
cmp eax, esi
ja 0x42b928
mov ecx, dword [edi + 0x1c]
add ecx, eax
cmp esi, ecx
jbe 0x42b92d
call fcn.004b9938
push edi
lea ecx, [esp + 0x1c]
call fcn.004025f0
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x18]
call fcn.0042bd90
mov esi, ebp
call fcn.004257c0
mov esi, edi
mov dword [esp + 0x10], 1
call fcn.0042b9e0
mov edx, dword [ebx]
push edx
call dword [0x518188]
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 4
Function at 0x4391e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x4391f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x43924b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x439219
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x43923c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x439210
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x56b120], eax
jmp 0x4391ef
jmp 0x439256
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x43928e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x56ad20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x56b120]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x56b120], edx
jmp 0x43924d
mov dword [0x56d120], fcn.004392b0
call fcn.00436c00
test eax, eax
jne 0x4392ab
mov dword [0x56d120], 0x4393c0
mov esp, ebp
pop ebp
ret
Function at 0x447620
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e4db
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x568e30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], 0
push 0
mov eax, dword [ebp - 0x430]
push eax
call dword [0x5182a4]
mov dword [ebp - 0x418], eax
push 0
push 0x8000000
push 3
push 0
push 3
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
call dword [0x5182a8]
mov dword [ebp - 0x430], eax
push 0
mov edx, dword [ebp - 0x430]
push edx
call dword [0x5182a4]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
push eax
push 0x20
lea ecx, [ebp - 0x42c]
call fcn.00447860
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00427fe0
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [0x5182ac]
mov edx, dword [ebp - 0x430]
push edx
call dword [0x5182b0]
push 0xffffffffffffffff
lea ecx, [ebp - 0x42c]
call fcn.00447940
mov dword [ebp - 0x424], 0x4c10db7
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x41c], 0
jmp 0x447732
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x100
jge 0x4477b7
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x440], 0
jmp 0x447765
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
cmp dword [ebp - 0x440], 8
jge 0x44779f
mov eax, dword [ebp - 0x420]
and eax, 1
je 0x44778f
mov ecx, dword [ebp - 0x420]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 0x420], ecx
jmp 0x44779d
mov edx, dword [ebp - 0x420]
shr edx, 1
mov dword [ebp - 0x420], edx
jmp 0x447756
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
mov dword [ebp + eax*4 - 0x414], ecx
jmp 0x447723
mov dword [ebp - 0x10], 0xffffffff
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x428], edx
lea ecx, [ebp - 0x42c]
call fcn.00429450
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x428]
sub ecx, 1
mov dword [ebp - 0x428], ecx
test eax, eax
je 0x447828
mov edx, dword [ebp - 0x10]
shr edx, 8
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0x438]
movzx ecx, byte [ecx]
xor eax, ecx
xor edx, dword [ebp + eax*4 - 0x414]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
jmp 0x4477db
mov eax, dword [ebp - 0x10]
xor eax, 0xffffffff
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.004272d0
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47bce0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x4b9458
Capabilities:
Encode data using xor

Disassembly:
pop ss
and cl, byte [eax + 0x400bc0]
or eax, 0x96f2d81a
xchg esi, eax
xor al, 0x20
add dword [ecx], edx
out 0x25, al
mov eax, 0x97e2f4d2
ror byte [esi], 0x30
xchg ecx, ebx
or dl, byte [ebx]
js 0x4b9463
add eax, 0x2e25c024
inc ecx
pushal
add dword [eax - 0x18], esp
add byte [eax], dl
push esp
pushal
xchg edi, eax
inc edx
mov ah, byte [ecx - 0x7e]
retf

Function at 0x4b9b8a
Capabilities:
Encode data using xor

Disassembly:
sahf
pop ds
call 0x75659c52
add byte [ebx], ah
imul ecx, dword [edx], 0x1f
add byte [ebx], dl
scasb al, byte es:[edi]
mov dword [0xc2e0fc1a], eax
adc al, byte [edx]
pushal
aam 0xcb
push ebx
lds ebx, [eax - 0x7e]
and edi, ebx
ficomp word [ebx + 0x201f06ab]
add dword [esi], 0xf0407530
xor byte [edx], 6
call 0x2c64685e
pushfd
or ecx, dword [ebx + edx - 0x52ef4f46]
rcl ebx, 0xd6
rcl esi, cl
popal
add eax, dword [edx]
sub ch, byte [eax + 0x3b260473]
inc esp
aam 0x8b
xor eax, 0x1f0409c
add eax, 0xc1b15812
push es
mov es, word [esi]
inc eax
in eax, dx
mov ebp, 0xc4803828
sbb dh, dl
cmpsb byte [esi], byte es:[edi]
add esp, ecx
or dword [eax + ebp*2 - 0x10], edi
add byte [edx], dl
aas
sub byte [ebx + 0x371bb3c7], al
sub dh, byte [ebx]
or ah, cl
push es
push eax
pop es
das
adc bl, byte [eax + 0x122689a0]
xor al, 0
imul edx, dword [ebp + edi*2 - 0x2a], 0x50
inc ebx
add cl, byte [ebx - 0x1c]
adc byte [ecx], al
add al, ah
lcall 0x432c, 0x3f1eae82
jnp 0x4b9bc7
cmp byte [ecx - 0x5a], al
adc esi, dword [edx]
add edx, 7
mov eax, dword [0x1e8971c8]
dec eax
invalid

Function at 0x4ba804
Capabilities:
Encode data using xor

Disassembly:
or byte [esp - 0x3fb5d6c0], bl
ror dword [esi + 0x20a3f47a], 1
sub eax, 0x50d80201
add bl, al
push eax
xor ah, byte [edx]
lock add ebx, dword [edx]
adc eax, 0xb80826d5
sub dword [esi + esi], eax
test cl, ch
and ebp, eax
mov eax, 0x68d4cdc0
add dword [edi], ebp
test al, 0x92
or byte [eax + edi*2 - 0x7f], al
add eax, 0x473250ba
dec edx
pushal
push ds
inc eax
or eax, 0x4a8750aa
aam 0x79
mov word [eax], fs
adc al, 0x3d
test dword [ecx + 0x538a6e05], eax
das
xchg esp, eax
lea edx, [edx + 0x75]
mov eax, 0xa21f3340
adc byte [eax - 0x20], 0x40
lea edi, [ebx + 0x3b56a4eb]
jmp 0x4ba7aa
push esi
cmp ecx, dword [ecx]
rcr dword [esp + ebp*4 - 0x20], 0xab
jmp 0x4ba7aa
pushal
or eax, 0xeac758ab
invalid
Function at 0x4bc526
Capabilities:
Check for vm using instruction vpcext

Disassembly:
xchg edi, eax
cld
inc esi
push edx
cmp byte [edx + 0x2681e240], bh
call 0x9a5e89e8
push eax
mov ebx, 0x897a5c7f
inc esp
cmp ah, byte [ecx]
cmpsb byte [esi], byte es:[edi]
mov dword [0x5f72a4b], eax
sbb ebx, 5
xchg edi, eax
sub al, 0x82
mov dword [eax - 0x3b2da31f], ebx
dec eax
add ebx, dword [edx + esi - 0x37]
add eax, 0xc4e2b074
invalid
Function at 0x405dbc
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 0x14], esi
mov dword [ebp - 4], ecx
je 0x405e07
cmp dword [ebp + 0x18], esi
je 0x405ee5
push dword [ebp + 0x18]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
cmp ebx, esi
je 0x405e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405e07
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405ee5
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00405eed
test eax, eax
jne 0x405e1e
push 1
pop eax
jmp 0x405ee7
mov ecx, 0x42c370
call fcn.0040f59c
test eax, eax
je 0x405ee5
push edi
push 0x6a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [ebp + 0x18], eax
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
call edi
test eax, eax
je 0x405e9a
lea eax, [ebp - 0x20]
push eax
push dword [0x42c374]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x405e91
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x18]
push dword [0x42c374]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x405e91
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
jmp 0x405e4c
mov ecx, dword [ebp - 4]
call sub.ole32.dll_OleUninitialize
cmp ebx, esi
pop edi
je 0x405eae
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x418498], esi
je 0x405ee5
lea eax, [ebp - 0x124]
push 0x104
push eax
push dword [0x42c490]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 5
push esi
lea eax, [ebp - 0x124]
push esi
push eax
push 0x404040
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
pop esi
pop ebx
leave
ret 0x14

Function at 0x406b69
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
shr ebx, 8
and byte [esi], 0
push edi
test bl, 2
mov edi, 0x4045f8
je 0x406ba7
lea eax, [ebp - 0x34]
push eax
push 0x11
call fcn.00406b69
lea eax, [ebp - 0x34]
push eax
push esi
call sub.MSVCRT.dll_strcat
push edi
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x18
test bl, 1
je 0x406bcb
lea eax, [ebp - 0x34]
push eax
push 0x10
call fcn.00406b69
lea eax, [ebp - 0x34]
push eax
push esi
call sub.MSVCRT.dll_strcat
push edi
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x18
test bl, 4
je 0x406bef
lea eax, [ebp - 0x34]
push eax
push 0x12
call fcn.00406b69
lea eax, [ebp - 0x34]
push eax
push esi
call sub.MSVCRT.dll_strcat
push edi
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x18
movzx eax, byte [ebp + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
lea ecx, [ebp - 0x34]
push 0x32
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x34]
push eax
push esi
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret