joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4c8058
mov edx, dword [0x559100]
cmp eax, dword [edx + 0x168]
jne 0x4c8058
cmp byte [edx + 0x114], 0
jne 0x4c8058
mov eax, dword [0x5595f0]
mov edx, dword [0x5595f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov dword [ebx + 4], eax
nop
mov eax, dword [0x5595f0]
mov edx, dword [0x5595f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 4]
jne 0x4c813c
mov eax, dword [0x559100]
cmp byte [eax + 0x114], 0
jne 0x4c813c
mov eax, dword [0x5595f0]
mov edx, dword [0x5595f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.0052e5e0
mov eax, dword [0x559100]
cmp dword [eax + 0x168], 0
je 0x4c8110
push 0x10
push 0
mov eax, dword [0x559100]
mov eax, dword [eax + 0x168]
push dword [eax + 0x25c]
mov eax, dword [0x559100]
mov eax, dword [eax + 0x168]
push dword [eax + 0x250]
mov eax, dword [0x559100]
mov eax, dword [eax + 0x168]
push dword [eax + 0x130]
push 0
push dword [ebx + 4]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x559100]
mov eax, dword [eax + 0x168]
call fcn.004e2e60
test al, al
je 0x4c8110
push 0
mov eax, dword [0x559100]
call fcn.0041df00
push eax
call sub.user32.dll_ShowWindow
lea esi, [esi]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push 0x112
push dword [ebx + 4]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebx + 0x24]
mov dword [edx + 0xc], eax
mov byte [ebx + 0x2c], 0
mov eax, dword [0x559100]
call fcn.00420770
jmp 0x4c81b0
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x4c8179
mov eax, dword [0x559100]
cmp edx, dword [eax + 0x168]
jne 0x4c8179
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push 0x112
push dword [ebx + 4]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebx + 0x24]
mov dword [edx + 0xc], eax
mov byte [ebx + 0x2c], 0
mov eax, dword [0x559100]
call fcn.00420770
jmp 0x4c81b0
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4c81b0
test dword [eax + 0x488], 8
je 0x4c81b0
mov eax, dword [ebx + 0x24]
mov dword [eax + 0xc], 1
mov byte [ebx + 0x2c], 0
mov eax, dword [0x5595f0]
mov edx, dword [0x5595f0]
mov edx, dword [edx]
call dword [edx + 0x8c]
lea esi, [esi]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c81c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [0x5595f0]
mov edx, dword [0x5595f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 4]
jne 0x4c827c
mov eax, dword [0x559100]
cmp byte [eax + 0x114], 0
jne 0x4c827c
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push 0x112
push dword [ebx + 4]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebx + 0x24]
mov dword [edx + 0xc], eax
mov byte [ebx + 0x2c], 0
mov eax, dword [0x559100]
cmp dword [eax + 0x168], 0
je 0x4c8270
mov eax, dword [0x559100]
mov eax, dword [eax + 0x168]
call fcn.004e2e60
test al, al
je 0x4c8270
mov eax, dword [0x559100]
mov eax, dword [eax + 0x168]
mov edx, dword [0x559100]
mov edx, dword [edx + 0x168]
mov edx, dword [edx]
call dword [edx + 0x344]
test al, al
je 0x4c8268
push 8
mov eax, dword [0x559100]
call fcn.0041df00
push eax
call sub.user32.dll_ShowWindow
lea esi, [esi]
call fcn.0052e6b0
lea esi, [esi]
mov eax, dword [0x559100]
call fcn.004207a0
jmp 0x4c82d0
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4c829d
mov edx, dword [0x559100]
cmp eax, dword [edx + 0x168]
jne 0x4c829d
mov eax, dword [0x559100]
call fcn.004207a0
jmp 0x4c82d0
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4c82d0
test dword [eax + 0x488], 8
je 0x4c82d0
mov eax, dword [ebx + 0x24]
mov dword [eax + 0xc], 1
mov eax, dword [0x5595f0]
mov edx, dword [0x5595f0]
mov edx, dword [edx]
call dword [edx + 0x90]
lea esi, [esi]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cc8d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x28]
push ebx
mov dword [ebp - 0x28], 8
mov eax, fcn.004cb4e0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00412c30
mov dword [ebp - 0x18], eax
mov eax, str.MAINICON
push eax
push dword [0x5db2c0]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4cc924
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x14], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, str.Window
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne bl
je 0x4cc99c
or dword [ebp - 0x28], 0x800
cmp dword [0x5727a0], 6
jb 0x4cc974
or dword [ebp - 0x28], 0x20000
lea esi, [esi]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov eax, str.HintWindow
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne bl
lea esi, [esi]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cd890
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
je 0x4cd928
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jle 0x4cd928
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
xor eax, eax
push fcn.004cd870
push ebp
push 0x413d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004cd870
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cdfb0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.004cdf90
push ebp
push 0x413d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4ce070
lea eax, [ebp - 0x18]
call fcn.00403a60
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004687b0
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.00403a60
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
call fcn.00468710
mov esi, dword [ebp - 0x1c]
call fcn.00468e80
mov edx, str._DataSize
push edx
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
call fcn.0046a050
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4ce0c7
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004cdf70
push ebp
push 0x413d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004cdf70
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004cdf90
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f0a00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x4f0a28
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x4f0ade
mov esi, esi
xor eax, eax
push 0x4f0abf
push ebp
push 0x4140a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0040cfe0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x4f0ab4
cmp dword [ebp - 8], 0
je 0x4f0ab4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x4f0ade
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52e9b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
xor eax, eax
push fcn.0052e990
push ebp
push 0x413d20
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
mov edx, ebx
lea eax, [ebp - 4]
call fcn.0040a6e0
test ebx, ebx
jle 0x52ea10
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x52ea05
mov eax, 0x5db2f0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov ebx, eax
mov esi, esi
mov edx, ebx
lea eax, [ebp - 4]
call fcn.0040a6e0
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
call fcn.0040ae20
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0042aec0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0052e990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52fdd0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
push esi
push edi
mov ebx, eax
mov edi, edx
mov esi, ecx
mov eax, esi
mov edx, 0x5c95b0
call fcn.0040e6f0
mov dword [ebp - 4], 0
xor eax, eax
push fcn.0052fdc0
push ebp
push 0x413d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 8], 0
mov dword [esi], 0
lea eax, [esi + 0x34]
xor edx, edx
call fcn.00408960
mov eax, fcn.004cb4e0
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [edi]
lea ecx, [ebp - 4]
xor dx, dx
call fcn.004092b0
mov edx, dword [ebp - 4]
lea eax, [esi + 0x30]
call fcn.00408960
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x10]
lea edx, [esi + 0xc]
mov eax, ebx
call fcn.0052e1f0
mov edx, esi
mov eax, ebx
call fcn.00530370
test dword [ebx + 0x28], 0x10
jne 0x52fea0
mov eax, ebx
call fcn.004e6f30
test al, al
jne 0x52fea0
or dword [esi + 0x24], 0x8000000
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0052fdc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4057a0
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
call fcn.00405f60
push 0x4088f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx + esi + 0x78]
lea ebx, [ecx + esi + 0x78]
lea edx, [ebp - 0x2c]
push edx
add edi, esi
push edi
push ebx
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x2c], 0x74726956
mov dword [ebp - 0x28], 0x416c6175
mov dword [ebp - 0x24], 0x636f6c6c
mov byte [ebp - 0x20], 0
call fcn.00405ec0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x2c], 0x74726956
mov dword [ebp - 0x28], 0x466c6175
mov dword [ebp - 0x24], 0x656572
call fcn.00405ec0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x1000
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, esi
sub eax, esi
mov edx, 0x1000
mov bl, byte [eax + ecx]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x405842
mov edx, 0x1000
mov ecx, esi
call fcn.00405760
push 0x200
push 0
push edi
mov dword [0x40b7c4], esi
mov dword [0x40b7c8], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x40b7d0]
push 0x100
push eax
push ecx
mov dword [0x40b7cc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 8], eax
add eax, 0x18
push 0x40
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x38]
push 0x3000
push eax
push 0
call dword [ebp - 0x10]
mov ebx, eax
test ebx, ebx
je 0x405989
push esi
mov eax, 0x40
mov edi, ebx
call fcn.00406090
mov ecx, dword [ebp - 8]
mov edi, dword [ebx + 0x3c]
movzx eax, word [ecx + 0x14]
add edi, ebx
push ecx
jmp loc.00410000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x84d300
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x429000]
push edi
or ebp, 0xffffffff
jmp 0x84d322
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x84d329
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d318
mov eax, 1
add ebx, ebx
jne 0x84d33b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x84d34c
jne 0x84d36b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d36b
dec eax
add ebx, ebx
jne 0x84d358
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x84d330
add ebx, ebx
jne 0x84d367
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x84d3bd
xor ecx, ecx
sub eax, 3
jb 0x84d383
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x84d3f2
sar eax, 1
mov ebp, eax
jmp 0x84d38e
add ebx, ebx
jne 0x84d38e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d35c
inc ecx
add ebx, ebx
jne 0x84d39c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d35c
add ebx, ebx
jne 0x84d3a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x84d39e
jne 0x84d3ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x84d39e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84d3dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x84d3ce
jmp 0x84d31e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84d3dc
add edi, ecx
jmp 0x84d31e
pop esi
mov edi, esi
mov ecx, 0xc43
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84d3fa
cmp byte [edi], 6
jne 0x84d3fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x84d3ff
lea edi, [esi + 0x44b000]
mov eax, dword [edi]
or eax, eax
je 0x84d46e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x450040]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4500a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84d42c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4500a8]
or eax, eax
je 0x84d468
mov dword [ebx], eax
add ebx, 4
jmp 0x84d449
call dword [esi + 0x4500a4]
mov ebp, dword [esi + 0x4500ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x84d4a2
sub esp, 0xffffff80
jmp 0x40adb0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x5b556f10
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x4d120e4a
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402ef0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402f49
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d8c
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d8c
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402f33
inc ebx
jmp 0x402f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f50
lea eax, [ebp - 8]
call fcn.00404f10
ret

Function at 0x402f58
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404f10
test esi, esi
jne 0x402f8f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00405000
jmp 0x402fb0
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d8c
mov dword [esp], eax
test esi, esi
je 0x402fb0
cmp dword [ebx], 0
je 0x402fb0
dec esi
jmp 0x402f97
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403e4c
Capabilities:
Query or enumerate registry value

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

Function at 0x404d08
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fa04c], 0
je 0x404d69
cmp word [0x4fa220], 0xd7b2
jne 0x404d31
cmp dword [0x4fa228], 0
jbe 0x404d31
mov eax, 0x4fa21c
call dword [0x4fa238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f7070
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 0x404d90
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f7030], 0
jne 0x404d85
push 0
push 0x4f7068
push 0x4f7070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404ec4
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.00402b2c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4fa04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e8c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4070dc
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 0x407142
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.00405180
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403820
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40712c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407149
lea eax, [ebp - 0x10]
call fcn.00404f10
ret

Function at 0x40cd2c
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cd65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405000
jmp 0x40cd6e
mov eax, ebx
mov edx, esi
call fcn.00404f64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40dd98
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 0x40de6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404fa8
lea eax, [ebp - 8]
call fcn.0040543c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004053ec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40de58
mov eax, ebx
call fcn.00402b2c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40de51
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.004053ec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40de3b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40de80
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40de3b
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 0x40de58
mov eax, dword [ebp - 0x10]
call fcn.00402b5c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40de75
lea eax, [ebp - 8]
call fcn.00404f10
ret