joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f90c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x43f941
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004039e4
jmp 0x43f94b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403998
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x440810
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x440848
mov eax, esi
call fcn.0042a27c
test al, al
je 0x440848
mov eax, dword [ebx + 0x6c]
call fcn.00429e9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x440848
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00429e9c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x445064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4451ff
push dword fs:[eax]
mov dword fs:[eax], esp
cmp esi, 1
jl 0x4450ae
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00444b34
mov eax, dword [ebp - 0x204]
mov edx, esi
call fcn.0040969c
cmp al, 1
jne 0x4450ae
dec esi
mov eax, ebx
call fcn.00444e48
test al, al
je 0x44519f
test esi, esi
jge 0x4450c3
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00444b34
mov eax, dword [ebp - 0x204]
call fcn.00403b7c
cmp edi, eax
jge 0x44510a
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00444b34
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x453dcc]
and eax, 0xff
bt dword [edx], eax
jae 0x44510a
inc edi
mov eax, dword [ebx + 0x20c]
cmp esi, eax
jl 0x445118
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.00445040
cmp edi, esi
je 0x445197
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x44513e
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.00429e9c
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.00429e9c
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x214], esi
jmp 0x4451e6
test esi, esi
jge 0x4451a5
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00444b34
mov eax, dword [ebp - 0x204]
call fcn.00403b7c
cmp esi, eax
jl 0x4451db
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00444b34
mov eax, dword [ebp - 0x204]
call fcn.00403b7c
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.00445040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445206
lea eax, [ebp - 0x204]
call fcn.00403900
ret
Function at 0x4492e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ec]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44948b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebx + 0x10]
call fcn.00414ce0
cmp byte [ebp + 8], 0
je 0x449341
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.00414bb0
jmp 0x44934f
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.00414bb0
mov eax, dword [ebx + 0x10]
call fcn.00414cd8
dec eax
jle 0x449395
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.00414ba8
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.00414cd8
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.00414c70
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov bx, 0xffcf
call fcn.00402f3c
test al, al
je 0x4493de
test esi, esi
jne 0x4493de
inc dword [ebp - 0xc]
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x449414
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1ec]
call fcn.00415738
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x443ba0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov ebx, dword [eax]
push edi
push 0x800
push 0x40
mov dword [esp + 0x1c], ebx
call dword [ebx + 0x2c]
mov edi, eax
test edi, edi
jne 0x443bcc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push 0
push 0
push ecx
push edx
call dword [ebx + 0x24]
mov eax, dword [esp + 0x2c]
mov ebp, 0x543a2110
test eax, eax
je 0x443c90
jmp 0x443bf4
mov eax, dword [esp + 0x2c]
cmp eax, 0x800
jb 0x443c00
mov eax, 0x800
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0
push ecx
push eax
push edi
push edx
call dword [ebx + 0x14]
test eax, eax
je 0x443ca0
mov edx, dword [esp + 0x10]
test edx, edx
je 0x443ce2
xor esi, esi
test edx, edx
jle 0x443c67
mov ecx, ebp
xor ecx, 0x2da05629
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
shr ebx, 0x10
xor al, bl
mov ebx, ecx
shr ebx, 8
xor al, bl
mov bl, byte [esi + edi]
xor al, bl
xor al, cl
mov byte [esi + edi], al
and eax, 0xff
shl ebp, 8
add ebp, eax
inc esi
cmp esi, edx
jl 0x443c2b
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push 0
push eax
push edx
push edi
push ecx
call dword [ebx + 0x18]
test eax, eax
je 0x443cc2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x2c], eax
jne 0x443bf0
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.00444910
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
call dword [ebx + 0x78]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.00444980
add esp, 8
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.00444910
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret

Function at 0x444780
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [esi], al
mov al, byte [ecx]
test al, al
je 0x4447ba
mov edx, esi
push ebx
sub edx, ecx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc edi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
mov al, byte [ecx]
test al, al
jne 0x44479b
mov byte [edi + esi], 0
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov byte [edi + esi], 0
mov eax, esi
pop edi
pop esi
ret
Function at 0x40a397
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x419004]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov esi, dword [ebp + 8]
push 0x406f00
push 0x406f1c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a3d1
push 0x800
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0xc]
call fcn.00409496
push esi
lea ecx, [esp + 0x24]
call fcn.00408b70
lea ecx, [esp + 0x20]
call fcn.00408e9c
mov esi, eax
test esi, esi
jns 0x40a44f
lea ecx, [esp + 8]
call fcn.0040a30c
test al, al
je 0x40a499
cmp esi, 0x80040b00
jne 0x40a499
and dword [esp + 0x4c], 0
lea ecx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x50], 7
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00408f41
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.004095f1
test esi, esi
js 0x40a499
mov esi, 0x80040b02
jmp 0x40a499
cmp dword [esp + 0x1c], 8
lea esi, [esp + 8]
jb 0x40a45e
mov esi, dword [esp + 8]
push 0x406d74
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40a491
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x40a48a
jle 0x40a499
movzx esi, si
or esi, 0x80070000
jmp 0x40a499
mov esi, 0x80004005
jmp 0x40a499
push dword [ebp + 0x14]
push esi
call eax
mov esi, eax
cmp dword [esp + 0x20], 0
je 0x40a4aa
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x24]
call fcn.004095f1
lea ecx, [esp + 8]
call fcn.004095f1
mov ecx, dword [esp + 0x54]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040ab91
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41d6fc
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 0x41d702
ret
Function at 0x2e020040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x2e02004f
pop dword [ebp - 0x10]
mov eax, 0x4837298d
sub eax, 0x1a35293e
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x329ff4da
add dword [ebp - 0x20], 0x1bb25071
mov dword [ebp - 0x1c], 0x415c2b
sub dword [ebp - 0x1c], 0xce0e0fe6
mov dword [ebp - 0x18], 0xd1a739ef
add dword [ebp - 0x18], 0x7aa50a3f
mov dword [ebp - 0x14], 0x5ae1b369
sub dword [ebp - 0x14], 0x5ae1b369
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x53afc287
sub dword [ebp - 0x20], 0xdf3d5931
mov dword [ebp - 0x1c], 0x4dd20977
sub dword [ebp - 0x1c], 0xc65a802
mov dword [ebp - 0x18], 0xfc09a299
add dword [ebp - 0x18], 0x6765c9d3
mov dword [ebp - 0x14], 0xb29c853c
sub dword [ebp - 0x14], 0xb29c853c
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x40f1a
push 0
call eax
mov ecx, 0x37ab0177
sub ecx, 0x37aab99b
mov edi, eax
mov edx, 0xa68448fd
add edx, 0x87812503
add edx, dword [ebp - 0x10]
mov esi, 0xf1ff616d
add esi, 0xdf363fd5
xor dword [ebp - 8], 0xa2dfd777
mov ebx, dword [edx]
sub dword [ebp - 4], ebx
xor ebx, esi
xor dword [ebp - 4], edi
mov dword [edi], ebx
add edi, 0xe20e71f6
add edi, 0x1df18e0e
add edx, 4
loop 0x2e020167
add eax, 0x7aec0c45
add eax, 0x851505fe
mov ebx, eax
add eax, 0x7a0caf77
sub eax, 0x7a0caf72
mov ecx, 0x369d56b2
add ecx, 0xf762a94e
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x402efc
Capabilities:
Read file on windows

Disassembly:
push ebx
xor ecx, ecx
mov ebx, eax
mov cx, word [eax + 4]
sub ecx, 0xd7b1
je 0x402f12
sub ecx, 2
jne 0x402f34
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x402f3b
cmp edx, dword [ebx + 8]
je 0x402f45
mov eax, 0x64
jmp 0x402f40
mov eax, 0x67
jmp 0x402f40
call sub.kernel32.dll_GetLastError
call fcn.00402884
pop ebx
ret

Function at 0x40314c
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x40317f
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x403186
cmp edx, dword [ebx + 8]
je 0x403190
mov eax, 0x65
jmp 0x40318b
mov eax, 5
jmp 0x40318b
call sub.kernel32.dll_GetLastError
call fcn.00402884
mov eax, ebx
pop ebx
ret

Function at 0x4034fc
Capabilities:
Query or enumerate registry value

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

Function at 0x404258
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x463048], 0
je 0x4042b9
cmp word [0x46321c], 0xd7b2
jne 0x404281
cmp dword [0x463224], 0
jbe 0x404281
mov eax, 0x463218
call dword [0x463234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x461090
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 0x4042e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x461030], 0
jne 0x4042d5
push 0
push 0x461088
push 0x461090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f88
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 0x405fee
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.00404644
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403078
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fd8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ff5
lea eax, [ebp - 0x10]
call fcn.004043d4
ret

Function at 0x40b224
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 0x40b25d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044c4
jmp 0x40b266
mov eax, ebx
mov edx, esi
call fcn.00404428
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c254
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 0x40c32a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040446c
lea eax, [ebp - 8]
call fcn.004048e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404894
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c314
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c30d
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.00404894
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c2f7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c33c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c2f7
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 0x40c314
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c331
lea eax, [ebp - 8]
call fcn.004043d4
ret
Function at 0x40c8b4
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 0x40c918
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.00404644
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c91f
lea eax, [ebp - 0xc]
call fcn.004043d4
ret

Function at 0x41abb4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x463884
cmp dword [edi], 0
jne 0x41ac30
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x463880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x461410
mov ecx, 2
call fcn.00402904
mov edx, 0x41ab8c
lea eax, [esi + 5]
call fcn.0041abac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041abac
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 0x41ac05
mov dword [0x463880], 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 0x41c1b4
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 0x41c1ba
ret

Function at 0x41e68c
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 0x41e6dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e6c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e6b4
jmp 0x41e6dd
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 0x41e6c5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4283e8
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.00404884
xor eax, eax
push ebp
push 0x428516
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4284e9
xor eax, eax
push ebp
push 0x4284e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404694
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4284b7
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 0x4284a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404694
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404894
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 0x4284ad
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x461f98]
mov dl, 1
mov eax, dword [0x4072e8]
call fcn.0040bac0
call fcn.00403e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42851d
lea eax, [ebp - 4]
call fcn.004043d4
ret