joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a34c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x49a369
add esp, 0xfffffff0
call fcn.00403acc
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x49a4f5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0045b724
mov edx, 0x1a4
mov eax, ebx
call fcn.004426ec
mov eax, dword [ebx + 0x320]
mov edx, 0x1a4
sub edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x330]
mov eax, dword [eax + 0x48]
add eax, eax
sub edx, eax
sub edx, 9
mov eax, dword [ebx + 0x33c]
call fcn.004426ec
mov edx, 0x14
mov eax, ebx
call fcn.00442710
mov edx, 3
mov eax, ebx
call fcn.004426c4
mov eax, dword [0x4a14ec]
mov eax, dword [eax]
call fcn.00461a24
mov edx, eax
sub edx, dword [ebx + 0x48]
sub edx, 0x64
mov eax, ebx
call fcn.004426a0
push 0xffffffffffffffec
mov eax, dword [0x4a129c]
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
push esi
call sub.user32.dll_GetWindowLongA
and eax, 0xfffbffff
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x4a129c]
push esi
call sub.user32.dll_SetWindowLongA
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, ebx
call fcn.00449750
push eax
call sub.user32.dll_SetWindowPos
lea ecx, [ebp - 8]
mov eax, dword [0x4a0fc0]
mov eax, dword [eax]
mov edx, 0x49a524
call fcn.0046df2c
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x300]
call fcn.0044faac
lea ecx, [ebp - 0xc]
mov eax, dword [0x4a0fc0]
mov eax, dword [eax]
mov edx, 0x49a538
call fcn.0046df2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x304]
call fcn.0044faac
lea ecx, [ebp - 0x10]
mov eax, dword [0x4a0fc0]
mov eax, dword [eax]
mov edx, 0x49a54c
call fcn.0046df2c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x30c]
call fcn.0044faac
lea ecx, [ebp - 0x14]
mov eax, dword [0x4a0fc0]
mov eax, dword [eax]
mov edx, 0x49a560
call fcn.0046df2c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x340]
call fcn.0044faac
lea ecx, [ebp - 0x18]
mov eax, dword [0x4a0fc0]
mov eax, dword [eax]
mov edx, 0x49a574
call fcn.0046df2c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x348]
call fcn.0044faac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a4fc
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004045c8
ret
Function at 0x403594
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x68a008], 0x8088405
inc edx
mov dword [ebx + 0x68a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41c6d0
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41c701
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c6e9
add dl, dl
jne 0x41c70c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c75d
xor eax, eax
add dl, dl
jne 0x41c719
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c7fa
add dl, dl
jne 0x41c728
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c733
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c73e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c749
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41c753
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41c6f8
mov eax, 1
add dl, dl
jne 0x41c76b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c776
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c762
sub eax, ebx
mov ebx, 1
jne 0x41c7a9
mov ecx, 1
add dl, dl
jne 0x41c78f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c79a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c786
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41c6f8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41c7c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c7cb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c7b7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41c6f8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41c81b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41c6f8
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d398
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d3ab
add esp, 0xfffffff0
call fcn.00403d90
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403b18
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d3d1
cmp dword [esi + 0x58], 0x40
jb 0x41d5b7
jmp 0x41d3d7
jl 0x41d5b7
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e68
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041cf50
cmp word [ebx + 0xc], 0x5a4d
jne 0x41d5b7
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41d5b7
cmp ecx, 0x10000
jge 0x41d5b7
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d432
cmp eax, dword [esi + 0x58]
ja 0x41d5b7
jmp 0x41d438
jg 0x41d5b7
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e68
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041cf50
cmp dword [ebx + 0x4c], 0x4550
jne 0x41d5b7
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e68
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041cf50
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d4ef
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d4b3
cmp eax, dword [esi + 0x58]
ja 0x41d540
jmp 0x41d4b9
jg 0x41d540
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e68
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041cf50
mov byte [ebx + 4], 1
jmp 0x41d540
cmp ax, 0x14c
jne 0x41d540
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d510
cmp eax, dword [esi + 0x58]
ja 0x41d540
jmp 0x41d512
jg 0x41d540
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e68
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041cf50
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41d5b7
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d571
cmp eax, dword [esi + 0x58]
ja 0x41d5b7
jmp 0x41d573
jg 0x41d5b7
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x673e68]
call fcn.00405b5c
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041cf50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41d5ce
call fcn.00403de8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e2cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x67578b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e37d
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e366
test esi, esi
jbe 0x41e37d
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040888c
test eax, eax
jne 0x41e358
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e37d
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e335
jmp 0x41e37d
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e37d
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x675792
ret
Function at 0x41ebdc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x67618b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cb8
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41ec17
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ec30
lea eax, [ebp - 0x10]
mov edx, dword [0x68c194]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d18
jmp 0x41ec43
lea eax, [ebp - 0x10]
mov edx, dword [0x68c194]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d18
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ec4f
adc edx, 0
mov edx, dword [edx*4 + 0x68acac]
call fcn.00404f08
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404eec
push eax
call fcn.00406adc
mov esi, eax
cmp esi, 0xffffffff
je 0x41ed5d
mov eax, 0x40
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ed50
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d7c
mov eax, edi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ed50
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ed50
cmp dx, 0x150
ja 0x41ed50
mov eax, edi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ed50
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404cf4
mov eax, edi
call fcn.00403270
push esi
call fcn.00406a94
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00405014
jne 0x41ed75
inc ebx
cmp ebx, 0x19
jne 0x41ec09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x676192
lea eax, [ebp - 0x10]
call fcn.00404cb8
ret
Function at 0x403364
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x50400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033dc
xor eax, eax
push ebp
push 0x4033d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403418
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x50400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x50400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404100
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50604c], 0
je 0x404161
cmp word [0x506220], 0xd7b2
jne 0x404129
cmp dword [0x506228], 0
jbe 0x404129
mov eax, 0x50621c
call dword [0x506238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x504054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404188
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x50401c], 0
jne 0x40417d
push 0
push 0x504074
push 0x504054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b1f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b231
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404374
jmp 0x40b23a
mov eax, ebx
mov edx, esi
call fcn.004042d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b244
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b265
mov al, byte [esp]
jmp 0x40b267
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b8ec
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b764
mov eax, dword [0x50556c]
cmp byte [eax], 0
je 0x40b959
mov eax, dword [0x505370]
call fcn.00402cb8
call fcn.00402868
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004091a4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b9a8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b998
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x50531c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x506718]
call fcn.00405d50
push eax
call sub.user32.dll_LoadStringA_1
cmp byte [0x50413c], 0
je 0x40b998
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40c5b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c614
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e04
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c61b
lea eax, [ebp - 0xc]
call fcn.00404284
ret
Function at 0x423178
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x506a24
cmp dword [edi], 0
jne 0x4231f4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x506a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5045e8
mov ecx, 2
call fcn.004028fc
mov edx, 0x423150
lea eax, [esi + 5]
call fcn.00423170
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423170
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4231c9
mov dword [0x506a20], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424700
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x424706
ret

Function at 0x426cec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x426d3d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426d24
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426d14
jmp 0x426d3d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x426d25
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438160
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404734
xor eax, eax
push ebp
push 0x43828e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x438261
xor eax, eax
push ebp
push 0x43825a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040454c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43822f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x43821e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040454c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404744
mov edx, ebx
pop ecx
call fcn.004028fc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438225
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5052b8]
mov dl, 1
mov eax, dword [0x407c1c]
call fcn.0040ba68
call fcn.00403cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438295
lea eax, [ebp - 4]
call fcn.00404284
ret
Function at 0x43b0e8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x43b165
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043ab34
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43b10d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043a78c
cmp dword [ebp - 4], 0
je 0x43b14f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404744
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b16c
lea eax, [ebp - 4]
call fcn.00404284
ret

Function at 0x43e4f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x506be0], 0
je 0x43e643
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x505504]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43e643
mov eax, dword [0x506be4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x506be0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43e612
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x506be0]
call fcn.0041a2e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43e60a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43e60a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43e60a
mov eax, dword [ebp - 0x14]
call fcn.00447050
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43e60a
push ebp
call fcn.0043e4b0
pop ecx
test al, al
jne 0x43e60a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43e5c6
mov eax, dword [ebp - 0x14]
call fcn.00445be4
dec eax
jle 0x43e60a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004036f0
cmp byte [ebp - 1], 0
je 0x43e60a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43e60a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x506be4]
call fcn.0043dc78
inc edi
dec ebx
jne 0x43e559
mov eax, dword [0x506be4]
cmp dword [eax + 8], 0
jle 0x43e62a
mov eax, dword [0x506be4]
call fcn.0043dd08
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43e643
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043e318
pop ecx
test al, al
jne 0x43e643
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441c40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x441c8c
mov eax, esi
call fcn.004583d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441c8c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x441c8c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x441dcb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x441ccc
cmp eax, 0x108
ja 0x441ccc
mov eax, esi
call fcn.004583d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441dc2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x441dcb
jmp 0x441dc2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x441dab
cmp eax, 0x20a
ja 0x441dab
test byte [esi + 0x50], 0x80
jne 0x441cfe
sub eax, 0x203
je 0x441cfb
sub eax, 3
je 0x441cfb
sub eax, 3
jne 0x441cfe
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x441d12
dec eax
je 0x441d27
dec eax
je 0x441d44
dec eax
je 0x441d27
jmp 0x441d4b
mov ecx, ebx
mov eax, dword [0x505504]
mov eax, dword [eax]
mov edx, esi
call fcn.00461ae0
jmp 0x441dc2
cmp byte [esi + 0x5d], 1
jne 0x441d3d
mov eax, esi
mov si, 0xffed
call fcn.004036f0
jmp 0x441dcb
or word [esi + 0x54], 1
jmp 0x441dc2
and word [esi + 0x54], 0xfffe
jmp 0x441dc2
mov eax, dword [0x506b9c]
cmp byte [eax + 0x20], 0
je 0x441dc2
mov eax, dword [0x506b9c]
cmp dword [eax + 0x1c], 0
je 0x441dc2
mov eax, dword [ebx]
mov edx, dword [0x506b9c]
cmp eax, dword [edx + 0x1c]
jne 0x441dc2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045828c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004036f0
jmp 0x441dcb
cmp eax, 0xb00b
jne 0x441dc2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00440554
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret