joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f5ec
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x60
mov eax, 0x4244e2
call fcn.0042193f
mov edi, ecx
mov dword [ebp - 0x30], edi
mov esi, dword [edi + 0x37c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x41f642
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41f642
push dword [edi + 0x37c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41f642
xor ebx, ebx
push ebx
push ebx
push 0x301
push dword [edi + 0x37c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41f7c1
lea ecx, [ebp - 0x14]
call dword [0x42e21c]
xor ebx, ebx
lea ecx, [ebp - 0x14]
push 0x4021f0
mov dword [ebp - 4], ebx
call dword [0x42e228]
mov ecx, edi
call fcn.0041dccd
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41f7b8
mov ecx, dword [eax]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x42e58c]
mov ecx, dword [ebp - 0x18]
call esi
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x14]
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x64], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0x20], esi
jmp 0x41f74b
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], esi
push eax
push ebx
push 0x104b
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41f735
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x24]
jge 0x41f727
cmp dword [ebp - 0x1c], ebx
jle 0x41f727
mov edi, ebx
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push ebx
push ecx
push edi
mov esi, dword [esi]
push eax
mov ecx, dword [esi + 0x28]
call dword [0x42e58c]
mov ecx, dword [ebp - 0x18]
call dword [esi + 0x28]
test eax, eax
je 0x41f716
test edi, edi
je 0x41f70a
push 0x403578
lea ecx, [ebp - 0x14]
call dword [0x42e318]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC42u.dll_CString::operator_1]
inc edi
cmp edi, dword [ebp - 0x1c]
jge 0x41f721
mov eax, dword [ebp - 0x4c]
jmp 0x41f6d9
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
push 0x4082fc
lea ecx, [ebp - 0x14]
call dword [0x42e318]
push 2
push esi
push 0x100c
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0x20], eax
cmp esi, 0xffffffff
jne 0x41f6b0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41f7b8
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41f7b2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 8]
lea edi, [eax*2 + 2]
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41f7b2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41f7b2
push edi
push dword [ebp - 0x14]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC42u.dll_CString::CString]
call fcn.004218ee
ret
Function at 0x41f81e
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f82d
sub ecx, esi
sar ecx, 1
pop esi
jne 0x41f84d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x41f861
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push edx
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
mov esp, ebp
pop ebp
ret 8

Function at 0x420c1a
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
and dword [0x42d090], 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x420dc1
mov eax, dword [ebp - 0x10]
cmp eax, 2
jl 0x420dc1
push edi
xor edi, edi
inc edi
dec eax
cmp eax, edi
jl 0x420dc0
mov dword [ebp - 8], 2
push esi
mov esi, dword [ebx + edi*4]
movzx eax, word [esi]
cmp eax, 0x2d
je 0x420c7e
cmp eax, 0x2f
jne 0x420d7e
add esi, 2
push 0x4083a4
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x420db5
push 0x4083a8
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x420db5
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jge 0x420dbf
push 0x4083b4
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x420ce9
push dword [ebx + edi*4 + 4]
mov ecx, 0x42d0a0
mov dword [0x42d0a4], 1
call dword [0x42e228]
push 2
pop ecx
jmp 0x420d61
push 0x4083bc
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x420d18
push dword [ebx + edi*4 + 4]
mov ecx, 0x42d09c
mov dword [0x42d0a4], 1
call dword [0x42e228]
push 4
jmp 0x420ce6
push 0x4083cc
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x420d47
push dword [ebx + edi*4 + 4]
mov ecx, 0x42d094
mov dword [0x42d0a8], 1
call dword [0x42e228]
push 8
jmp 0x420ce6
push 0x4083e0
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x10
or ecx, dword [ebp - 4]
add edi, 2
add dword [ebp - 8], 2
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 4], ecx
cmp edi, eax
jle 0x420c6a
mov eax, ecx
jmp 0x420d92
cmp edi, 1
jne 0x420d8f
push esi
mov ecx, 0x42d098
call dword [0x42e228]
mov eax, dword [ebp - 4]
test eax, eax
je 0x420dbf
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0x802
push 0
mov dword [ebp - 0xc], 1
call dword [sym.imp.ntdll.dll_WinSqmAddToStream]
jmp 0x420dbf
mov dword [0x42d090], 1
pop esi
pop edi
xor eax, eax
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x421470
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x427548
call fcn.00421cf8
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x42d0b0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4212a5
cmp eax, esi
jne 0x421298
xor esi, esi
inc esi
mov edi, esi
jmp 0x4212a8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42127c
xor esi, esi
inc esi
cmp dword [0x42d0b4], esi
jne 0x4212ba
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4212f4
cmp dword [0x42d0b4], ebx
jne 0x4212ee
mov dword [0x42d0b4], esi
push 0x401cc0
push 0x401cb4
call fcn.00421424
pop ecx
pop ecx
test eax, eax
je 0x4212f4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42141e
mov dword [0x42b3e8], esi
cmp dword [0x42d0b4], esi
jne 0x421317
push 0x401cb0
push 0x401b60
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x42d0b4], 2
test edi, edi
jne 0x421324
xor eax, eax
mov ecx, 0x42d0b0
xchg dword [ecx], eax
cmp dword [0x42d0c0], 0
je 0x421350
push 0x42d0c0
call fcn.00421b50
pop ecx
test eax, eax
je 0x421350
push ebx
push 2
push ebx
mov esi, dword [0x42d0c0]
mov ecx, esi
call dword [0x42e58c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x4212dd
mov dword [ebp - 0x24], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x20]
movzx eax, word [ecx]
cmp ax, si
ja 0x4213bb
test ax, ax
je 0x42138a
test edx, edx
jne 0x4213bb
test ax, ax
je 0x42138a
cmp ax, si
ja 0x42138a
add ecx, 2
mov dword [ebp - 0x24], ecx
movzx eax, word [ecx]
jmp 0x421375
test byte [ebp - 0x40], 1
je 0x421396
movzx eax, word [ebp - 0x3c]
jmp 0x421399
push 0xa
pop eax
push eax
push ecx
push ebx
push 0x400000
call main
mov dword [0x42b3e4], eax
cmp dword [0x42b3fc], 0
jne 0x421403
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x4213cc
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x20], edx
add ecx, 2
mov dword [ebp - 0x24], ecx
jmp 0x421364
cmp dword [0x42b3e8], 0
jne 0x421417
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x42b3e4]
mov dword [ebp - 4], 0xfffffffe
call fcn.0042190c
ret
call fcn.00421c43
jmp 0x421253

Function at 0x421a54
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4275e8
call fcn.00421d88
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x421ab4
cmp eax, 0xffffffff
je 0x421ab4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x421aad
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x421aad
cmp edx, 0x10000000
jae 0x421aad
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x421aaa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00421dcd
ret 4
Function at 0x421b00
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x421b3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x421b36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x421b40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x421b26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x421c10
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x421c26
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x421c41
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x42e006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4030e8
Capabilities:
Query or enumerate registry value

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

Function at 0x403e8c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b404c], 0
je 0x403eed
cmp word [0x4b4220], 0xd7b2
jne 0x403eb5
cmp dword [0x4b4228], 0
jbe 0x403eb5
mov eax, 0x4b421c
call dword [0x4b4238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b106c
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 0x403f14
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b1030], 0
jne 0x403f09
push 0
push 0x4b1064
push 0x4b106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40583c
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 0x405a6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4058bf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4058bf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a88
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405948
xor eax, eax
push ebp
push 0x405941
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405684
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 0x405926
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405aa8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405926
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 0x405948
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 0x405a62
cmp byte [ebp - 0xd], 0
jne 0x40598f
cmp byte [ebp - 0x12], 0
je 0x405a62
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4059a8
dec ebx
cmp byte [ebx], 0x2e
je 0x4059b7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4059a7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405a62
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4059f4
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 0x405a62
cmp byte [ebp - 0xd], 0
je 0x405a62
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 0x405a62
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 0x406134
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 0x40619a
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.00404278
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406184
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061a1
lea eax, [ebp - 0x10]
call fcn.00404008
ret

Function at 0x40bed4
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 0x40bf0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040f8
jmp 0x40bf16
mov eax, ebx
mov edx, esi
call fcn.0040405c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c5c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c440
mov eax, dword [0x4b35d4]
cmp byte [eax], 0
je 0x40c644
mov eax, dword [0x4b3280]
call fcn.00402a70
call fcn.004028e0
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.00409098
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 0x40c68c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c67a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b320c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b4668]
call fcn.00405648
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 0x40cf4c
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 0x40d022
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040a0
lea eax, [ebp - 8]
call fcn.00404518
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d00c
mov eax, ebx
call fcn.00402778
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d005
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.004044c8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cfef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d034
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cfef
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 0x40d00c
mov eax, dword [ebp - 0x10]
call fcn.00402798
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d029
lea eax, [ebp - 8]
call fcn.00404008
ret

Function at 0x40d5f4
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 0x40d658
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.00404278
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ab4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d65f
lea eax, [ebp - 0xc]
call fcn.00404008
ret

Function at 0x4256a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b4888
cmp dword [edi], 0
jne 0x425724
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b4884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b15d0
mov ecx, 2
call fcn.00402974
mov edx, 0x425680
lea eax, [esi + 5]
call fcn.004256a0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004256a0
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 0x4256f9
mov dword [0x4b4884], 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 0x426cd0
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 0x426cd6
ret
Function at 0x429324
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 0x429375
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42935c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42934c
jmp 0x429375
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 0x42935d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432050
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.004044b8
xor eax, eax
push ebp
push 0x43217e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x432151
xor eax, eax
push ebp
push 0x43214a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004042c8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43211f
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 0x43210e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004042c8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004044c8
mov edx, ebx
pop ecx
call fcn.00402974
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 0x432115
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4b315c]
mov dl, 1
mov eax, dword [0x407674]
call fcn.0040c770
call fcn.00403a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432185
lea eax, [ebp - 4]
call fcn.00404008
ret