joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10d6924
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x24]
mov dword [ebp - 0xc], edi
jmp 0x10d6937
mov edi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp - 8], eax
jne 0x10d6956
test ecx, ecx
jne 0x10d6964
test edx, edx
jne 0x10d6964
mov dword [ebp - 8], edi
jmp 0x10d69ce
cmp eax, 0xffffffff
jne 0x10d6964
mov dword [ebp - 8], 0xfffffffe
jmp 0x10d69ce
mov eax, dword [esi + 0x24]
lea eax, [edi + eax - 0x106]
cmp ecx, eax
jb 0x10d69ce
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.010da2a0
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x10d6995
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x10d69b4
add dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x10d6a74
mov ebx, dword [esi + 0x6c]
add ebx, dword [esi + 0x64]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 8]
add ebx, dword [esi + 0x30]
cmp eax, ecx
mov dword [ebp - 4], eax
jbe 0x10d69f3
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x10d69fd
xor eax, eax
jmp 0x10d6a35
sub eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x18], 0
jne 0x10d6a1f
push dword [ebp - 4]
push dword [edi]
push dword [edi + 0x30]
call fcn.010d6587
add esp, 0xc
mov dword [edi + 0x30], eax
push dword [ebp - 4]
push dword [edi]
push ebx
call fcn.010da2a0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x6c], eax
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x10d6a60
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x10d6a74
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x10d6934
pop edi
pop ebx
leave
ret
Function at 0x10dda8d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x10ddabb
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x10ddac2
cmp ebx, dword [eax + 4]
jae 0x10ddac2
xor eax, eax
jmp 0x10ddcb2
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x10ddad3
xor eax, eax
inc eax
jmp 0x10ddcb1
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x10ddae9
cmp ecx, edx
jae 0x10ddc2e
cmp dword [eax + 4], 0
je 0x10ddaf2
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x10ddada
cmp dword [ebp + 8], 0
je 0x10ddb14
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x10ddc2e
cmp eax, esi
jae 0x10ddc2e
mov eax, dword [0x10010078]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x10ddb39
cmp dword [esi*4 + 0x10010080], edi
je 0x10ddc32
inc esi
cmp esi, eax
jl 0x10ddb27
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x1000b0b8]
test eax, eax
je 0x10ddcae
cmp dword [ebp - 8], 0x1000000
jne 0x10ddcae
test byte [ebp - 0xc], 0xcc
je 0x10ddbb7
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x10ddcae
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10ddcae
cmp word [eax + 0x18], 0x10b
jne 0x10ddcae
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x10ddcae
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x10ddbb7
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x10ddbb7
test byte [ecx + 0x27], 0x80
jne 0x10ddc2e
push 1
push 0x100100c0
call dword [0x1000b0b4]
test eax, eax
jne 0x10ddacb
mov ecx, dword [0x10010078]
test ecx, ecx
mov edx, ecx
jle 0x10ddbeb
lea eax, [ecx*4 + 0x1001007c]
cmp dword [eax], edi
je 0x10ddbeb
dec edx
sub eax, 4
test edx, edx
jg 0x10ddbdf
test edx, edx
jne 0x10ddc1c
push 0xf
pop ebx
cmp ecx, ebx
jg 0x10ddbf8
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x10ddc10
lea eax, [edx*4 + 0x10010080]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x10ddbfe
cmp ecx, 0x10
jge 0x10ddc1c
inc ecx
mov dword [0x10010078], ecx
push 0
push 0x100100c0
call dword [0x1000b0b4]
jmp 0x10ddacb
xor eax, eax
jmp 0x10ddcb1
test esi, esi
jle 0x10ddacb
mov ebx, dword [0x1000b0b4]
push 1
push 0x100100c0
call ebx
test eax, eax
jne 0x10ddacb
cmp dword [esi*4 + 0x10010080], edi
je 0x10ddc88
mov eax, dword [0x10010078]
lea esi, [eax - 1]
test esi, esi
jl 0x10ddc76
cmp dword [esi*4 + 0x10010080], edi
je 0x10ddc72
dec esi
jns 0x10ddc66
test esi, esi
jge 0x10ddc86
cmp eax, 0x10
jge 0x10ddc81
inc eax
mov dword [0x10010078], eax
lea esi, [eax - 1]
jmp 0x10ddc88
je 0x10ddca0
xor ecx, ecx
test esi, esi
jl 0x10ddca0
lea eax, [ecx*4 + 0x10010080]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x10ddc8e
push 0
push 0x100100c0
call ebx
jmp 0x10ddacb
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x14b9637
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x14b9654
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14b9645
add dl, dl
jne 0x14b965f
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14b96ab
xor eax, eax
add dl, dl
jne 0x14b966c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14b9748
add dl, dl
jne 0x14b967b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14b9686
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14b9691
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14b969c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x14b96a6
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x14b964b
mov eax, 1
add dl, dl
jne 0x14b96b9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14b96c4
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14b96b0
sub eax, 2
jne 0x14b96f3
mov ecx, 1
add dl, dl
jne 0x14b96d9
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14b96e4
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14b96d0
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14b964b
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14b970a
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14b9715
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14b9701
cmp eax, 0x7d00
jae 0x14b9738
cmp eax, 0x500
jb 0x14b9733
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14b964b
cmp eax, 0x7f
ja 0x14b973b
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14b964b
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x14b9764
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14b964b
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret 8
Function at 0x402a6c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004047a0
test esi, esi
jne 0x402aa2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404890
jmp 0x402ac0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402980
mov edi, eax
test esi, esi
je 0x402ac0
cmp dword [ebx], 0
je 0x402ac0
dec esi
jmp 0x402aa9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030b4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403844
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4fd024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4038bc
xor eax, eax
push ebp
push 0x4038b5
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 0x4038f8
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 0x4038bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4fd024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4fd024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045a8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50004c], 0
je 0x404609
cmp word [0x500220], 0xd7b2
jne 0x4045d1
cmp dword [0x500228], 0
jbe 0x4045d1
mov eax, 0x50021c
call dword [0x500238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4fd074
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 0x404630
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4fd034], 0
jne 0x404625
push 0
push 0x4fd06c
push 0x4fd074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40475c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402744
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x50004d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404724
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4067b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40681e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404a10
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406808
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406825
lea eax, [ebp - 0x10]
call fcn.004047a0
ret

Function at 0x40cb90
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 0x40cbc9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404890
jmp 0x40cbd2
mov eax, ebx
mov edx, esi
call fcn.004047f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cbdc
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 0x40cbfd
mov al, byte [esp]
jmp 0x40cbff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d284
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d0fc
mov eax, dword [0x4ff3d4]
cmp byte [eax], 0
je 0x40d300
mov eax, dword [0x4ff120]
call fcn.00402edc
call fcn.004028ac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a3d0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40d348
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d336
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ff0b4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x500668]
call fcn.00405ccc
push eax
call sub.user32.dll_LoadStringA_1
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 0x40dbe4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dcba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404838
lea eax, [ebp - 8]
call fcn.00404cb0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c60
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dca4
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dc9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c60
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dc87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dccc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dc87
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dca4
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcc1
lea eax, [ebp - 8]
call fcn.004047a0
ret

Function at 0x40e240
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 0x40e2a4
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.00404a10
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409ec4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2ab
lea eax, [ebp - 0xc]
call fcn.004047a0
ret

Function at 0x4212e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x500888
cmp dword [edi], 0
jne 0x421364
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x500884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4fd588
mov ecx, 2
call fcn.00402940
mov edx, 0x4212c0
lea eax, [esi + 5]
call fcn.004212e0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004212e0
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 0x421339
mov dword [0x500884], 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 0x4228f0
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 0x4228f6
ret
Function at 0x424d8c
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 0x424ddd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424dc4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424db4
jmp 0x424ddd
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 0x424dc5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dc08
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.00404c50
xor eax, eax
push ebp
push 0x42dd36
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42dd09
xor eax, eax
push ebp
push 0x42dd02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a60
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42dcd7
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 0x42dcc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a60
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov edx, ebx
pop ecx
call fcn.00402940
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 0x42dccd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4ff02c]
mov dl, 1
mov eax, dword [0x408bac]
call fcn.0040d408
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dd3d
lea eax, [ebp - 4]
call fcn.004047a0
ret
Function at 0x42dd44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42def5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e50
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42df0c
call fcn.00404aac
mov eax, ebx
call fcn.0042087c
mov edi, eax
dec edi
test edi, edi
jl 0x42ddfc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420850
mov edx, dword [0x432a34]
call fcn.00403b60
test al, al
je 0x42ddf8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00420850
lea edx, [ebp - 0x14]
call fcn.0043c770
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e50
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b20
inc esi
dec edi
jne 0x42ddaa
mov al, byte [0x42df10]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42df1c
mov eax, dword [ebp - 0xc]
call fcn.0040e818
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404838
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043c770
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42df0c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043c770
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42df0c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42df0c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42df28
call fcn.0040aa98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42defc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0x14]
call fcn.004047a0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047c4
ret

Function at 0x437158
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4370a4
call sub.user32.dll_EnumWindows
ret
Function at 0x437278
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 0x4372f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00436cd8
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43729d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004368d8
cmp dword [ebp - 4], 0
je 0x4372df
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404c60
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 0x4372fc
lea eax, [ebp - 4]
call fcn.004047a0
ret

Function at 0x43a2c0
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 [0x500b84], 0
je 0x43a40f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ff34c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43a40f
mov eax, dword [0x500b88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x500b84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43a3de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x500b84]
call fcn.0041a8b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43a3d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43a3d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43a3d6
mov eax, dword [ebp - 0x14]
call fcn.00442f58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43a3d6
push ebp
call fcn.0043a27c
pop ecx
test al, al
jne 0x43a3d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43a392
mov eax, dword [ebp - 0x14]
call fcn.00441a88
dec eax
jle 0x43a3d6
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.00403bd0
cmp byte [ebp - 1], 0
je 0x43a3d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a3d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x500b88]
call fcn.00439a48
inc edi
dec ebx
jne 0x43a325
mov eax, dword [0x500b88]
cmp dword [eax + 8], 0
jle 0x43a3f6
mov eax, dword [0x500b88]
call fcn.00439ad8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43a40f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043a0e4
pop ecx
test al, al
jne 0x43a40f
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