joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b640
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
cmp dword [ebp + 0xc], 0xffffffff
setne al
dec eax
and eax, 0x80
mov dword [ebp - 4], eax
push 0
call sub.USER32.dll_OpenClipboard
or eax, eax
je 0x42b795
push 8
call sub.USER32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
or eax, eax
je 0x42b790
push eax
call sub.KERNEL32.dll_GlobalLock
mov dword [ebp - 8], eax
or eax, eax
je 0x42b790
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
push dword [ebp - 4]
push eax
push edx
call fcn.0042c400
mov dword [ebp - 0x1c], eax
or eax, eax
je 0x42b788
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x20], eax
or eax, eax
je 0x42b739
push dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xe]
cmp eax, 8
jg 0x42b6eb
mov esi, dword [ebp - 8]
xor ebx, ebx
inc ebx
movzx ecx, word [esi + 0xe]
shl ebx, cl
lea esi, [esi + ebx*4 + 0x28]
mov dword [ebp - 0x3c], esi
jmp 0x42b70a
mov eax, dword [ebp - 8]
mov edx, dword [eax]
add edx, eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xe]
cmp eax, 0x20
je 0x42b706
cmp eax, 0x10
jne 0x42b70a
add dword [ebp - 0x3c], 0xc
push 0xcc0020
push 0
push dword [ebp - 8]
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push eax
push edx
push 0
push 0
push dword [ebp - 0x20]
call sub.GDI32.dll_StretchDIBits
push dword [ebp - 0x20]
call sub.GDI32.dll_DeleteDC
push dword [ebp + 8]
push dword [0x45dfbc]
call fcn.0042d0b0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
push 0x18
push dword [ebp - 0x1c]
call sub.GDI32.dll_GetObjectA
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x14]
mov word [eax + 4], dx
mov edx, dword [ebp - 0x18]
mov word [eax + 6], dx
movzx edx, word [ebp - 0x26]
mov byte [eax + 8], dl
mov edx, dword [ebp - 4]
mov byte [eax + 9], dl
cmp dword [ebp + 8], 0xffffffff
jne 0x42b785
mov edi, eax
jmp 0x42b788
mov edi, dword [ebp - 0x1c]
push dword [ebp - 8]
call sub.KERNEL32.dll_GlobalUnlock
call sub.USER32.dll_CloseClipboard
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42ba70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 8]
push dword [0x45dfbc]
call fcn.0042d112
mov dword [ebp - 0x44], eax
or eax, eax
je 0x42bc63
cmp dword [ebp + 0xc], esi
je 0x42bc63
lea eax, [ebp - 0x40]
push eax
push 0x18
mov eax, dword [ebp - 0x44]
push dword [eax]
call sub.GDI32.dll_GetObjectA
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
imul eax, ebx, 3
mov edx, ebx
and edx, 3
add eax, edx
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], 0x18
mov dword [ebp - 0x28], 0x28
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov ax, word [ebp - 0x30]
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], 0x18
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x48]
imul eax, edi
mov dword [ebp - 0x14], eax
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
movzx eax, word [ebp - 0x4a]
cmp eax, 0x18
jge 0x42bb0b
movzx eax, word [ebp - 0x4a]
xor eax, 2
mov dword [ebp - 8], eax
jmp 0x42bb0f
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov edx, edi
inc edx
imul eax, edx
push eax
push 0
push dword [0x45d298]
call sub.KERNEL32.dll_HeapAlloc
mov dword [ebp - 0x50], eax
or eax, eax
je 0x42bc63
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x54], eax
or eax, eax
je 0x42bc53
push 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x50]
mov eax, edi
and eax, 0xffff
push eax
push 0
mov eax, dword [ebp - 0x44]
push dword [eax]
push dword [ebp - 0x54]
call sub.GDI32.dll_GetDIBits
or eax, eax
je 0x42bc4b
cmp dword [ebp + 0x10], 0
jne 0x42bc33
push 0
push pe_nt_image_headers32
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 0xc]
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
je 0x42bc4b
mov word [ebp - 0x66], 0x4d42
mov edx, dword [ebp - 0x28]
add edx, 0xe
mov ecx, dword [ebp - 8]
shl ecx, 2
add edx, ecx
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x64], edx
mov word [ebp - 0x60], 0
mov word [ebp - 0x5e], 0
mov edx, dword [ebp - 0x28]
add edx, 0xe
mov ecx, dword [ebp - 8]
shl ecx, 2
add edx, ecx
mov dword [ebp - 0x5c], edx
push 0
lea eax, [ebp - 0x6c]
push eax
push 0xe
lea eax, [ebp - 0x66]
push eax
push dword [ebp - 0x58]
call sub.KERNEL32.dll_WriteFile
or eax, eax
je 0x42bc29
push 0
lea eax, [ebp - 0x6c]
push eax
mov edx, dword [ebp - 8]
shl edx, 2
add edx, 0x28
push edx
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x58]
call sub.KERNEL32.dll_WriteFile
or eax, eax
je 0x42bc29
push 0
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
call sub.KERNEL32.dll_WriteFile
or eax, eax
je 0x42bc29
xor esi, esi
inc esi
push dword [ebp - 0x58]
call sub.KERNEL32.dll_CloseHandle
jmp 0x42bc4b
push dword [ebp + 0x14]
push dword [ebp - 0x48]
push edi
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x50]
push dword [ebp + 0xc]
call fcn.0042c650
mov esi, eax
push dword [ebp - 0x54]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 0x50]
push 0
push dword [0x45d298]
call sub.KERNEL32.dll_HeapFree
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x42bde0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 8]
push dword [0x45dfbc]
call fcn.0042d0b0
mov ebx, eax
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push dword [ebp + 0xc]
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x42bf5b
push 0
lea eax, [ebp - 0x20]
push eax
push 2
lea eax, [ebp - 0x1a]
push eax
push esi
call sub.KERNEL32.dll_ReadFile
push esi
call sub.KERNEL32.dll_CloseHandle
cmp word [ebp - 0x1a], 0x4d42
jne 0x42bebc
test byte [ebp + 0x10], 0x80
xchg esi, eax
sete al
xchg esi, eax
and esi, 1
dec esi
and esi, 0xffffe000
add esi, 0x2010
push esi
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [0x45d29c]
call sub.USER32.dll_LoadImageA
mov edi, eax
or eax, eax
je 0x42bf32
lea eax, [ebp - 0x18]
push eax
push 0x18
push edi
call sub.GDI32.dll_GetObjectA
movzx eax, word [ebp - 6]
cmp eax, 8
jg 0x42bf32
push 0x10
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [0x45d29c]
call sub.USER32.dll_LoadImageA
mov edi, eax
or eax, eax
je 0x42bf32
lea eax, [ebp - 0x18]
push eax
push 0x18
push edi
call sub.GDI32.dll_GetObjectA
jmp 0x42bf32
push 0x10
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [0x45d29c]
call sub.USER32.dll_LoadImageA
mov edi, eax
or eax, eax
je 0x42bf06
lea eax, [ebp - 0x34]
push eax
push edi
call sub.USER32.dll_GetIconInfo
or eax, eax
je 0x42bf32
lea eax, [ebp - 0x18]
push eax
push 0x18
push dword [ebp - 0x24]
call sub.GDI32.dll_GetObjectA
push dword [ebp - 0x28]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x24]
call sub.GDI32.dll_DeleteObject
jmp 0x42bf32
push 0
push dword [ebp + 0xc]
call fcn.0042c6c0
mov dword [ebp - 0x38], eax
or eax, eax
je 0x42bf32
push dword [ebp + 0x10]
push eax
call fcn.0042c490
mov edi, eax
or eax, eax
je 0x42bf32
lea eax, [ebp - 0x18]
push eax
push 0x18
push edi
call sub.GDI32.dll_GetObjectA
or edi, edi
je 0x42bf5b
mov dword [ebx], edi
mov eax, dword [ebp - 0x14]
mov word [ebx + 4], ax
mov eax, dword [ebp - 0x10]
mov word [ebx + 6], ax
movzx eax, word [ebp - 6]
mov byte [ebx + 8], al
mov eax, dword [ebp + 0x10]
mov byte [ebx + 9], al
cmp dword [ebp + 8], 0xffffffff
jne 0x42bf5b
mov edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x402a90
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.00404710
test esi, esi
jne 0x402ac6
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.00404800
jmp 0x402ae4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402944
mov edi, eax
test esi, esi
je 0x402ae4
cmp dword [ebx], 0
je 0x402ae4
dec esi
jmp 0x402acd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403838
Capabilities:
Query or enumerate registry value

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

Function at 0x404594
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x481048], 0
je 0x4045f5
cmp word [0x48121c], 0xd7b2
jne 0x4045bd
cmp dword [0x481224], 0
jbe 0x4045bd
mov eax, 0x481218
call dword [0x481234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47d090
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 0x40461c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47d030], 0
jne 0x404611
push 0
push 0x47d088
push 0x47d090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a48
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405c78
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405acb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405c78
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405acb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405c94
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405b54
xor eax, eax
push ebp
push 0x405b4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405890
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405b32
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405cb4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405b32
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b54
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405c6e
cmp byte [ebp - 0xd], 0
jne 0x405b9b
cmp byte [ebp - 0x12], 0
je 0x405c6e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405bb4
dec ebx
cmp byte [ebx], 0x2e
je 0x405bc3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405bb3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405c6e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405c00
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c6e
cmp byte [ebp - 0xd], 0
je 0x405c6e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c6e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406340
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 0x4063a6
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.00404980
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004033fc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406390
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4063ad
lea eax, [ebp - 0x10]
call fcn.00404710
ret

Function at 0x40b5e4
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 0x40b61d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404800
jmp 0x40b626
mov eax, ebx
mov edx, esi
call fcn.00404764
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bcd8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb50
mov eax, dword [0x480cec]
cmp byte [eax], 0
je 0x40bd54
mov eax, dword [0x480afc]
call fcn.00402ec0
call fcn.00402864
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.00408d1c
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 0x40bd9c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd8a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x480aa0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x481664]
call fcn.00405854
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 0x40c5f0
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 0x40c6c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004047a8
lea eax, [ebp - 8]
call fcn.00404c20
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404bd0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6b0
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6a9
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.00404bd0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c693
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c6d8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c693
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 0x40c6b0
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6cd
lea eax, [ebp - 8]
call fcn.00404710
ret

Function at 0x40cbd8
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 0x40cc3c
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.00404980
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040884c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc43
lea eax, [ebp - 0xc]
call fcn.00404710
ret

Function at 0x41af4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x481884
cmp dword [edi], 0
jne 0x41afc8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x481880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47d490
mov ecx, 2
call fcn.00402904
mov edx, 0x41af24
lea eax, [esi + 5]
call fcn.0041af44
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041af44
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 0x41af9d
mov dword [0x481880], 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 0x41c55c
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 0x41c562
ret
Function at 0x41eaec
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 0x41eb3d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41eb24
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41eb14
jmp 0x41eb3d
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 0x41eb25
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427a20
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.00404bc0
xor eax, eax
push ebp
push 0x427b4e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427b21
xor eax, eax
push ebp
push 0x427b1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049d0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x427aef
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 0x427ade
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049d0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404bd0
mov edx, ebx
pop ecx
call fcn.00402904
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 0x427ae5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x480a44]
mov dl, 1
mov eax, dword [0x4076d0]
call fcn.0040be5c
call fcn.0040414c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b55
lea eax, [ebp - 4]
call fcn.00404710
ret
Function at 0x427b5c
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 0x427d0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404dc0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x427d24
call fcn.00404a1c
mov eax, ebx
call fcn.0041a4e0
mov edi, eax
dec edi
test edi, edi
jl 0x427c14
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a4b4
mov edx, dword [0x43009c]
call fcn.00403b4c
test al, al
je 0x427c10
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a4b4
lea edx, [ebp - 0x14]
call fcn.0043a3a8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404dc0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a90
inc esi
dec edi
jne 0x427bc2
mov al, byte [0x427d28]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x427d34
mov eax, dword [ebp - 0xc]
call fcn.0040d1b0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004047a8
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.0043a3a8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x427d24
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.0043a3a8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x427d24
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, 0x427d24
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, 0x427d40
call fcn.004093e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d14
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404734
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404734
lea eax, [ebp - 0x14]
call fcn.00404710
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404734
ret

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