joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004b40
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x58]
push esi
push edi
mov ecx, 0x10
mov esi, 0x1292770
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsb byte es:[edi], byte [esi]
xor edi, edi
xor ecx, ecx
cmp ebx, eax
mov dword [esp + 0xc], eax
je 0x10004d02
mov esi, dword [esp + 0x68]
cmp esi, eax
je 0x10004d02
push ebp
mov ebp, dword [esp + 0x68]
lea edx, [ebp + 2]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x70]
shl eax, 2
cmp edx, eax
jl 0x10004cff
mov eax, ebp
cdq
mov ebp, 3
idiv ebp
mov ebp, dword [esp + 0x78]
test eax, eax
mov dword [esp + 0x18], edx
jle 0x10004c5c
mov dword [esp + 0x14], eax
lea esp, [esp]
movzx eax, byte [edi + ebx]
movzx ebp, byte [edi + ebx + 1]
inc edi
movzx edx, byte [edi + ebx + 1]
inc edi
mov ebx, eax
sar ebx, 2
and ebx, 0x3f
mov bl, byte [esp + ebx + 0x1c]
mov byte [ecx + esi], bl
and eax, 3
shl eax, 4
mov ebx, ebp
sar ebx, 4
and ebx, 0xf
or ebx, eax
mov al, byte [esp + ebx + 0x1c]
mov byte [ecx + esi + 1], al
inc edi
inc ecx
mov eax, edx
sar eax, 6
and ebp, 0xf
and eax, 3
shl ebp, 2
or eax, ebp
mov al, byte [esp + eax + 0x1c]
mov ebp, dword [esp + 0x78]
inc ecx
and edx, 0x3f
mov dl, byte [esp + edx + 0x1c]
mov byte [ecx + esi], al
inc ecx
mov byte [ecx + esi], dl
mov edx, dword [esp + 0x10]
add edx, 4
inc ecx
test ebp, ebp
mov dword [esp + 0x10], edx
je 0x10004c49
mov eax, edx
cmp eax, 0x49
jl 0x10004c49
mov byte [ecx + esi], 0xd
inc ecx
mov byte [ecx + esi], 0xa
inc ecx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
dec eax
mov dword [esp + 0x14], eax
jne 0x10004bc0
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x10004cd4
dec eax
je 0x10004ca8
dec eax
jne 0x10004ce2
movzx eax, byte [edi + ebx]
movzx edi, byte [edi + ebx + 1]
mov edx, eax
sar edx, 2
and edx, 0x3f
mov dl, byte [esp + edx + 0x1c]
mov byte [ecx + esi], dl
mov edx, edi
sar edx, 4
and eax, 3
and edx, 0xf
shl eax, 4
or edx, eax
mov al, byte [esp + edx + 0x1c]
inc ecx
mov byte [ecx + esi], al
inc ecx
and edi, 0xf
mov dl, byte [esp + edi*4 + 0x1c]
mov byte [ecx + esi], dl
jmp 0x10004cce
movzx eax, byte [edi + ebx]
mov edx, eax
sar edx, 2
and edx, 0x3f
mov dl, byte [esp + edx + 0x1c]
and eax, 3
mov byte [ecx + esi], dl
shl eax, 4
mov al, byte [esp + eax + 0x1c]
inc ecx
mov byte [ecx + esi], al
inc ecx
mov byte [ecx + esi], 0x3d
inc ecx
mov byte [ecx + esi], 0x3d
inc ecx
test ebp, ebp
je 0x10004ce2
mov byte [ecx + esi], 0xd
inc ecx
mov byte [ecx + esi], 0xa
inc ecx
cmp ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edx], ecx
jge 0x10004cf2
mov byte [ecx + esi], 0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x50
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret
Function at 0x10005240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
and eax, 0x800000ff
jns 0x10005257
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
jge 0x1000526a
mov eax, dword [ebp + 0xc]
jmp 0x100052ab
mov dword [ebp - 8], 0
jmp 0x1000527c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jge 0x100052a0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movsx eax, byte [edx]
movsx ecx, byte [ebp - 1]
xor eax, ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov edx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x10005273
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100052b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
and eax, 0x800000ff
jns 0x100052c7
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
jge 0x100052da
mov eax, dword [ebp + 0xc]
jmp 0x1000531b
mov dword [ebp - 8], 0
jmp 0x100052ec
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jge 0x10005310
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movsx eax, byte [edx]
movsx ecx, byte [ebp - 1]
xor eax, ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov edx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x100052e3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10005dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.10009500
push eax
mov eax, dword [ebp + 8]
push eax
push 0x129aae0
push 0x129c1b0
call fcn.1001741f
add esp, 0x10
cmp dword [ebp + 8], 0x3ef
jne 0x10005e0a
push 0x129aca0
push 0x129c1b0
call fcn.1001741f
add esp, 8
push 3
call fcn.10017ea4
pop ebp
ret
Function at 0x1001dde5
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 0x1001de13
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 0x1001de1a
cmp ebx, dword [eax + 4]
jae 0x1001de1a
xor eax, eax
jmp 0x1001e00a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x1001de2b
xor eax, eax
inc eax
jmp 0x1001e009
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1001de41
cmp ecx, edx
jae 0x1001df86
cmp dword [eax + 4], 0
je 0x1001de4a
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x1001de32
cmp dword [ebp + 8], 0
je 0x1001de6c
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x1001df86
cmp eax, esi
jae 0x1001df86
mov eax, dword [0x13ae9d0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x1001de91
cmp dword [esi*4 + 0x13ae9d8], edi
je 0x1001df8a
inc esi
cmp esi, eax
jl 0x1001de7f
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x1292150]
test eax, eax
je 0x1001e006
cmp dword [ebp - 8], 0x1000000
jne 0x1001e006
test byte [ebp - 0xc], 0xcc
je 0x1001df0f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x1001e006
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1001e006
cmp word [eax + 0x18], 0x10b
jne 0x1001e006
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x1001e006
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x1001df0f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x1001df0f
test byte [ecx + 0x27], 0x80
jne 0x1001df86
push 1
push 0x13aea18
call dword [0x129214c]
test eax, eax
jne 0x1001de23
mov ecx, dword [0x13ae9d0]
test ecx, ecx
mov edx, ecx
jle 0x1001df43
lea eax, [ecx*4 + 0x13ae9d4]
cmp dword [eax], edi
je 0x1001df43
dec edx
sub eax, 4
test edx, edx
jg 0x1001df37
test edx, edx
jne 0x1001df74
push 0xf
pop ebx
cmp ecx, ebx
jg 0x1001df50
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x1001df68
lea eax, [edx*4 + 0x13ae9d8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x1001df56
cmp ecx, 0x10
jge 0x1001df74
inc ecx
mov dword [0x13ae9d0], ecx
push 0
push 0x13aea18
call dword [0x129214c]
jmp 0x1001de23
xor eax, eax
jmp 0x1001e009
test esi, esi
jle 0x1001de23
mov ebx, dword [0x129214c]
push 1
push 0x13aea18
call ebx
test eax, eax
jne 0x1001de23
cmp dword [esi*4 + 0x13ae9d8], edi
je 0x1001dfe0
mov eax, dword [0x13ae9d0]
lea esi, [eax - 1]
test esi, esi
jl 0x1001dfce
cmp dword [esi*4 + 0x13ae9d8], edi
je 0x1001dfca
dec esi
jns 0x1001dfbe
test esi, esi
jge 0x1001dfde
cmp eax, 0x10
jge 0x1001dfd9
inc eax
mov dword [0x13ae9d0], eax
lea esi, [eax - 1]
jmp 0x1001dfe0
je 0x1001dff8
xor ecx, ecx
test esi, esi
jl 0x1001dff8
lea eax, [ecx*4 + 0x13ae9d8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x1001dfe6
push 0
push 0x13aea18
call ebx
jmp 0x1001de23
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ab4
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.00404778
test esi, esi
jne 0x402aea
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.00404868
jmp 0x402b08
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029c8
mov edi, eax
test esi, esi
je 0x402b08
cmp dword [ebx], 0
je 0x402b08
dec esi
jmp 0x402af1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403898
Capabilities:
Query or enumerate registry value

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

Function at 0x4045fc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47d04c], 0
je 0x40465d
cmp word [0x47d220], 0xd7b2
jne 0x404625
cmp dword [0x47d228], 0
jbe 0x404625
mov eax, 0x47d21c
call dword [0x47d238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47b070
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 0x404684
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47b030], 0
jne 0x404679
push 0
push 0x47b068
push 0x47b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4066ec
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 0x406752
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.004049e8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032a8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40673c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406759
lea eax, [ebp - 0x10]
call fcn.00404778
ret

Function at 0x408ff0
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c38
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x409004
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404c38
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409026
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40ba94
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 0x40bacd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404868
jmp 0x40bad6
mov eax, ebx
mov edx, esi
call fcn.004047cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c188
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c000
mov eax, dword [0x47c8c0]
cmp byte [eax], 0
je 0x40c204
mov eax, dword [0x47c660]
call fcn.00402efc
call fcn.004028f4
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.00409228
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 0x40c24c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c23a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47c604]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47d668]
call fcn.00405c00
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 0x40cae8
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 0x40cbbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404810
lea eax, [ebp - 8]
call fcn.00404c88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c38
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cba8
mov eax, ebx
call fcn.0040278c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cba1
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.00404c38
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cb8b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cbd0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cb8b
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 0x40cba8
mov eax, dword [ebp - 0x10]
call fcn.004027ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbc5
lea eax, [ebp - 8]
call fcn.00404778
ret

Function at 0x40d0d0
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 0x40d134
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.004049e8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c50
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d13b
lea eax, [ebp - 0xc]
call fcn.00404778
ret

Function at 0x421c14
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47d888
cmp dword [edi], 0
jne 0x421c90
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47d884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47b50c
mov ecx, 2
call fcn.00402988
mov edx, 0x421bec
lea eax, [esi + 5]
call fcn.00421c0c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421c0c
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 0x421c65
mov dword [0x47d884], 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 0x423214
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 0x42321a
ret
Function at 0x425860
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 0x4258b1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425898
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425888
jmp 0x4258b1
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 0x425899
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f1a0
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.00404c28
xor eax, eax
push ebp
push 0x42f2ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f2a1
xor eax, eax
push ebp
push 0x42f29a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a38
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f26f
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 0x42f25e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a38
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c38
mov edx, ebx
pop ecx
call fcn.00402988
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 0x42f265
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47c590]
mov dl, 1
mov eax, dword [0x407b10]
call fcn.0040c30c
call fcn.004041b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f2d5
lea eax, [ebp - 4]
call fcn.00404778
ret
Function at 0x42f2dc
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 0x42f48d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e28
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42f4a4
call fcn.00404a84
mov eax, ebx
call fcn.004211a8
mov edi, eax
dec edi
test edi, edi
jl 0x42f394
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042117c
mov edx, dword [0x43c730]
call fcn.00403bb4
test al, al
je 0x42f390
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042117c
lea edx, [ebp - 0x14]
call fcn.00444dd4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e28
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404af8
inc esi
dec edi
jne 0x42f342
mov al, byte [0x42f4a8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42f4b4
mov eax, dword [ebp - 0xc]
call fcn.0040d6a8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404810
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.00444dd4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42f4a4
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.00444dd4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42f4a4
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, 0x42f4a4
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, 0x42f4c0
call fcn.004098f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f494
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040479c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040479c
lea eax, [ebp - 0x14]
call fcn.00404778
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040479c
ret

Function at 0x43927c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x47db44], 0
jne 0x43929f
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4391f0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47db44], eax
ret

Function at 0x43f48c
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 0x43f3d8
call sub.user32.dll_EnumWindows
ret