joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1e38
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4a1e40
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a2032
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4a2048
mov eax, esi
call fcn.0049fcc4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040450c
lea ecx, [ebp - 0x10]
mov edx, 0x4a205c
mov eax, esi
call fcn.0049fcc4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040450c
lea ecx, [ebp - 0x14]
mov edx, 0x4a2074
mov eax, esi
call fcn.0049fcc4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040450c
lea ecx, [ebp - 0x18]
mov edx, 0x4a2090
mov eax, esi
call fcn.0049fcc4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040450c
lea ecx, [ebp - 0x1c]
mov edx, 0x4a20ac
mov eax, esi
call fcn.0049fcc4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040450c
lea ecx, [ebp - 0x24]
mov edx, 0x4a20c4
mov eax, esi
call fcn.0049fcc4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409198
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409884
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4a20dc
mov eax, esi
call fcn.0049fcc4
mov eax, dword [ebp - 0x28]
call fcn.0049979c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4a20ec
mov eax, esi
call fcn.0049fcc4
mov eax, dword [ebp - 0x2c]
call fcn.0049979c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4a2104
mov eax, esi
call fcn.0049fcc4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409884
inc eax
je 0x4a1fd5
lea ecx, [ebp - 0x34]
mov edx, 0x4a2104
mov eax, esi
call fcn.0049fcc4
mov eax, dword [ebp - 0x34]
call fcn.00409848
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b448
fstp qword [ebp - 0x3c]
wait
call fcn.0040b888
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4a1ff0
lea ecx, [ebp - 0x40]
mov edx, 0x4a2104
mov eax, esi
call fcn.0049fcc4
mov eax, dword [ebp - 0x40]
call fcn.0049979c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4a2114
mov eax, esi
call fcn.0049fcc4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040450c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2039
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004044dc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004044dc
ret
Function at 0x4a8dc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a8e1e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a8db4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004983ac
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00497fac
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8e25
lea eax, [ebp - 4]
call fcn.004044b8
ret

Function at 0x4ac7f4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b290]
call fcn.00404ffc
xor eax, eax
push ebp
push 0x4ac938
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x60cc5c], 0
jne 0x4ac847
mov ecx, dword [0x60e4b0]
mov dl, 1
mov eax, dword [0x408258]
call fcn.0040d81c
call fcn.00403e54
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e40
mov eax, ebx
call fcn.00404d50
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ac948
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004063bc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d60
test eax, eax
jle 0x4ac8df
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4ac8d8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404740
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404728
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409128
test eax, eax
jne 0x4ac8d8
mov ebx, 0x15
jmp 0x4ac8e4
mov ebx, 0x10
jmp 0x4ac8e4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x60cc5c]
call fcn.004ac6f0
mov eax, dword [ebp - 8]
call fcn.004ac6f0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac93f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004044dc
lea eax, [ebp - 0x10]
mov edx, dword [0x41b290]
call fcn.004050cc
ret

Function at 0x4cfd28
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4cfd4d
cmp dword [esp + 4], 5
jb 0x4cfd4d
mov al, 1
jmp 0x4cfd4f
xor eax, eax
add esp, 0x94
ret
Function at 0x4eb4a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4eb4d6
mov eax, ebx
call fcn.004ebf5c
cmp dword [ebx + 0x40], 0
je 0x4eb4cf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4eb547
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4eb539
cmp dword [ebx + 8], 0
je 0x4eb4f8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4eb50a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4eb539
cmp dword [ebx + 8], 0
je 0x4eb4eb
cmp eax, 3
je 0x4eb51d
dec eax
jne 0x4eb4eb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4eb4eb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4eb4eb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4eb565
cmp dword [ebx + 0x14], 0xcc
je 0x4eb565
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004eb570
pop ebx
ret

Function at 0x4fcc50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x34]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_send
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp eax, 0xffffffff
je 0x4fcc8d
add dword [ebx + 0x38], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4fcf20
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.004044b8
test ebx, ebx
je 0x4fcfc1
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x4fcf5c
mov eax, ebx
call fcn.00404978
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x4fcfcd
mov eax, esi
mov edx, ebx
call fcn.0040450c
jmp 0x4fcfcd
mov eax, ebx
call fcn.00404978
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4fcfcd
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x4fcfdc
call fcn.0040a674
jmp 0x4fcfcd
mov eax, esi
mov edx, 0x4fcff0
call fcn.0040450c
add esp, 0x20
pop edi
pop esi
pop ebx
ret
Function at 0x4fe5c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe824
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4fe627
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004fe08c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e164
cmp al, 1
jne 0x4fe627
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004fe3a4
test al, al
je 0x4fe7b3
cmp dword [ebp - 8], 0
jge 0x4fe645
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004fe08c
mov eax, dword [ebp - 0x210]
call fcn.00404778
cmp ebx, eax
jge 0x4fe68f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004fe08c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x60f120]
and eax, 0xff
bt dword [edx], eax
jae 0x4fe68f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4fe6a3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004fe5a0
cmp ebx, dword [ebp - 8]
je 0x4fe7a5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4fe6cf
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004037c0
and eax, 0x7f
movzx eax, word [eax*2 + 0x60dfb8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4fe792
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004037c0
and eax, 0x7f
movzx eax, word [eax*2 + 0x60dfb8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00478c34
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004037c0
and eax, 0x7f
movzx eax, word [eax*2 + 0x60dfb8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00478c34
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe799
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4fe806
cmp dword [ebp - 8], 0
jge 0x4fe7be
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004fe08c
mov eax, dword [ebp - 0x218]
call fcn.00404778
cmp eax, dword [ebp - 8]
jg 0x4fe7f8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004fe08c
mov eax, dword [ebp - 0x21c]
call fcn.00404778
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004fe5a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe82b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004044dc
ret
Function at 0x511134
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x51114e
add esp, 0xfffffff0
call fcn.00403928
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5111eb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403594
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x42bac0]
call fcn.0042d388
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.00511574
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x511418
mov dl, 1
mov eax, dword [0x41c44c]
call fcn.00403594
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.00419610
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.00411708
mov byte [edi + 0x28], 1
mov dl, byte [0x511210]
mov ax, 0x2e
call fcn.0048240c
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5111f2
lea eax, [ebp - 0x10]
call fcn.004112f0
ret

Function at 0x51226c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x512284
push 5
mov eax, ebx
call fcn.00478c34
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.00478c34
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x51f174
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x51f214
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x51f1a0
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x51f1b4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x50d9f0]
call fcn.0051300c
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.00472254
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.00478d74
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.00478c34
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x51f248
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x51f220
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x53b97c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x53b9b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x53b992
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x53b9a1
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x53b9b0
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x5535b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x5535ee
test bl, bl
je 0x5535df
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x5535e9
mov eax, dword [edi]
movzx esi, byte [eax + 0x405]
dec esi
xor bl, 1
jmp 0x5535ff
mov eax, dword [edi]
mov edx, dword [eax + 0x420]
mov eax, dword [edi]
call fcn.00544608
mov esi, eax
mov eax, esi
test bl, bl
je 0x553608
inc esi
jmp 0x553609
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x55361e
mov edx, dword [edi]
movzx esi, byte [edx + 0x405]
jmp 0x55363e
mov edx, dword [edi]
movzx edx, byte [edx + 0x405]
cmp esi, edx
jge 0x55363e
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x405]
sub esi, edx
cmp eax, esi
je 0x553682
jmp 0x55365a
test bl, bl
je 0x55364b
inc esi
jmp 0x55364c
dec esi
test esi, esi
jl 0x553682
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x553682
mov eax, dword [edi]
mov edx, esi
call fcn.005445fc
mov edx, eax
mov eax, dword [edi]
call fcn.005525a4
test al, al
je 0x553644
mov eax, dword [edi]
mov edx, esi
call fcn.005445fc
mov edx, eax
mov eax, dword [edi]
call fcn.00552678
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5545bc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00509790
test al, al
jne 0x554768
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test al, al
je 0x5545f6
cmp byte [0x61dac4], 0
jne 0x5545f6
mov byte [ebx + 0x43c], 1
cmp byte [ebx + 0x43c], 0
je 0x554605
cmp dword [esi + 4], 0
je 0x554632
test byte [ebx + 0x55], 1
jne 0x554624
mov eax, ebx
call fcn.004758a8
test eax, eax
jne 0x554624
mov edx, esi
mov eax, ebx
call fcn.0047a988
jmp 0x554768
mov edx, esi
mov eax, ebx
call fcn.0047682c
jmp 0x554768
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.00471d7c
push eax
mov eax, ebx
call fcn.00471d38
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x554761
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00478c34
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004fdb4c
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.00473538
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.005545bc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00478c34
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x554768
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55dfec
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x55e006
add esp, 0xfffffff0
call fcn.00403928
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x55e094
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403594
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.0052fc10
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41c44c]
call fcn.00403594
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41c44c]
call fcn.00403594
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x50a7d0]
call fcn.0050a970
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x55e9c4
lea eax, [ebp - 0x10]
call fcn.00419610
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.00411708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e09b
lea eax, [ebp - 0x10]
call fcn.004112f0
ret

Function at 0x576558
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x576579
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x576579
xor eax, eax
ret
mov al, 1
ret
Function at 0x579180
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
lea eax, [ebx + 0x1c]
xor ecx, ecx
mov edx, 0x40
call fcn.00402e40
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
pop ebx
ret

Function at 0x579bdc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407bc4
ret

Function at 0x57aa10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push eax
mov eax, 0xc
add esp, 0xfffff004
push eax
dec eax
jne 0x57aa18
mov eax, dword [esp + 0xc000]
add esp, 0xfffffcb0
mov ebx, eax
xor eax, eax
cmp byte [ebx + 0x24b04], 0
je 0x57aa4c
mov dl, byte [ebx + eax + 0xc44d]
xor byte [ebx + eax + 0xfc], dl
jmp 0x57aa62
mov edx, dword [ebx + 0x24af4]
add edx, eax
mov dl, byte [ebx + edx + 0x1879e]
xor byte [ebx + eax + 0xfc], dl
inc eax
cmp eax, 8
jne 0x57aa33
mov esi, dword [ebx + 0x24b00]
push esi
mov eax, esi
call fcn.00405a30
push eax
push 0
lea eax, [esp + 0xc]
push eax
lea edx, [ebx + 0xfc]
mov ecx, 0xc350
mov eax, ebx
call fcn.0057ac10
xor eax, eax
mov edx, esp
mov cl, byte [edx]
mov esi, dword [ebx + 0x24af0]
add esi, eax
mov byte [ebx + esi + 0x1879e], cl
inc eax
inc edx
cmp eax, 8
jne 0x57aa94
xor eax, eax
mov edx, dword [ebx + 0x24af0]
add edx, eax
mov cl, byte [ebx + eax + 0xc44d]
xor byte [ebx + edx + 0x1879e], cl
inc eax
cmp eax, 8
jne 0x57aaae
lea edx, [ebx + 0xfc]
lea eax, [ebx + 0xc44d]
mov ecx, 8
call fcn.00407bbc
mov eax, dword [ebx + 0x24af0]
mov dword [ebx + 0x24af4], eax
add dword [ebx + 0x24af0], 8
xor eax, eax
mov dword [ebx + 0x24af8], eax
mov byte [ebx + 0x24b04], 0
add esp, 0xc354
pop esi
pop ebx
ret