joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc64
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409c6c
xor eax, eax
push ebp
push 0x40cd24
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a764
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a914
mov eax, dword [ebx]
call fcn.0040cb2c
test al, al
jne 0x40cd01
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a764
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a914
mov eax, dword [ebx]
call fcn.0040cb2c
test al, al
jne 0x40cd01
mov eax, ebx
call fcn.00409b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd2b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409be8
lea eax, [ebp - 4]
call fcn.00409b88
ret

Function at 0x40d56c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41d5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41d609
test eax, edx
je 0x41d60c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d5c7
movzx eax, word [eax]
sub eax, ecx
jmp 0x41d5ee
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41d5ef
add ecx, 4
js 0x41d5df
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41d5ec
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41d5ee
xor eax, eax
ret
test eax, eax
je 0x41d618
test edx, edx
jne 0x41d5b8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41e7a8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x41e7d5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4224ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4224e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409d10
jmp 0x4224ee
mov eax, ebx
mov edx, esi
call fcn.00409f68
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4224f8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x42251a
movzx eax, word [esp]
jmp 0x42251c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4235d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4236f5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004233d8
mov esi, eax
mov eax, dword [0x4e098c]
cmp byte [eax], 0
je 0x42369d
mov eax, dword [0x4e07f0]
call fcn.00407160
call fcn.00406808
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4235a0]
call fcn.0040ba40
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423710
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4236d9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e07b0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e3c50]
call fcn.0040bc24
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4236fc
lea eax, [ebp - 4]
mov edx, dword [0x4235a0]
call fcn.0040bb64
ret

Function at 0x424828
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffee0
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4248d9
cmp dword [esp + 0x10], 6
ja 0x42485d
cmp dword [esp + 0x10], 6
jne 0x424889
cmp dword [esp + 0x14], 1
jbe 0x424889
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 8]
lea edx, [esp + 4]
mov eax, esp
call fcn.004246d8
mov eax, dword [esp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4dded4], eax
mov eax, dword [esp + 0x10]
mov dword [0x4dded8], eax
mov eax, dword [esp + 0x14]
mov dword [0x4ddedc], eax
cmp dword [0x4dded4], 1
jne 0x4248bd
mov eax, dword [esp + 0x18]
and eax, 0xffff
mov dword [0x4ddee0], eax
jmp 0x4248c6
mov eax, dword [esp + 0x18]
mov dword [0x4ddee0], eax
mov eax, 0x4ddee4
lea edx, [esp + 0x20]
mov ecx, 0x80
call fcn.0040a764
add esp, 0x120
ret
Function at 0x42520c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a064
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d54c
mov edi, eax
cmp edi, 0x104
jbe 0x4251b7
mov eax, edi
add eax, eax
call fcn.004066b4
mov esi, eax
jmp 0x4251b9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d54c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4251f2
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4251dc
mov eax, esp
cmp esi, eax
je 0x4251ff
mov eax, esi
call fcn.004066d0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x425238
cmp bl, 0
je 0x425234
cmp bl, 0x41
jl 0x42522f
cmp bl, 0x5a
jg 0x42522f
or bl, 0x20
xor al, bl
inc esi
jmp 0x425213
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x425178

Function at 0x425a78
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a764
add esp, 0x800
pop ebx
ret

Function at 0x425fc8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00409b88
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040a6c0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42600d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00409d10
jmp 0x426026
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040a83c
push ebx
mov eax, dword [esi]
call fcn.0040a6c0
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433ce4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x433d36
test eax, edx
je 0x433d39
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x433cf9
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x433d1f
add ecx, 4
js 0x433d0f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x433d1c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x433d45
test edx, edx
jne 0x433cec
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x482744
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x48274c
mov eax, edx
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d004]
jne 0x40100a
repz ret
jmp fcn.00401526

Function at 0x4086ce
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004026dc
and dword [ebp - 4], 0
cmp dword [0x43f464], 0
mov ebx, eax
jne 0x40877f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408830
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408830
push eax
call fcn.0040266a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f464], eax
call esi
push eax
call fcn.0040266a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f468], eax
call esi
push eax
call fcn.0040266a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43f46c], eax
call esi
push eax
call fcn.0040266a
pop ecx
mov dword [0x43f474], eax
test eax, eax
je 0x40877f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040266a
pop ecx
mov dword [0x43f470], eax
mov eax, dword [0x43f470]
cmp eax, ebx
je 0x4087d7
cmp dword [0x43f474], ebx
je 0x4087d7
push eax
call fcn.004026e5
push dword [0x43f474]
mov esi, eax
call fcn.004026e5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4087d7
test edi, edi
je 0x4087d7
call esi
test eax, eax
je 0x4087ce
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4087ce
test byte [ebp - 0xc], 1
jne 0x4087d7
or dword [ebp + 0x10], 0x200000
jmp 0x408810
mov eax, dword [0x43f468]
cmp eax, ebx
je 0x408810
push eax
call fcn.004026e5
pop ecx
test eax, eax
je 0x408810
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408810
mov eax, dword [0x43f46c]
cmp eax, ebx
je 0x408810
push eax
call fcn.004026e5
pop ecx
test eax, eax
je 0x408810
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43f464]
call fcn.004026e5
pop ecx
test eax, eax
je 0x408830
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408832
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439160
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x43d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x53500c]
push ebx
push esi
mov esi, dword [0x534e54]
mov ebx, eax
cmp eax, 0x5dd
jne 0x43919d
push 0
lea eax, [ebp - 0x404]
push eax
push str.jutusenavocibiyaxunokubiyefet
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x43e200]
call fcn.00439060
cmp dword [0x53500c], 0x2f
jne 0x4391b8
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.004390a0
add esp, 4
cmp dword [0x53500c], 0x568
pop esi
pop ebx
jne 0x4391e6
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
mov ebx, 0x40915c
nop
mov ecx, 0x7f524de6
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x14a46889
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x4cb211
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0040302c]
test eax, eax
je 0x4cb250
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4cb250
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4cb250
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4cb250
cmp dword [ecx + 0x74], 0xe
jbe 0x4cb250
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4e3cb3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0040302c]
test eax, eax
je 0x4e3cf2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e3cf2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e3cf2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4e3cf2
cmp dword [ecx + 0x74], 0xe
jbe 0x4e3cf2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x21e84c05
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x222e3dcb
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40142f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esp
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ax, word [esp + 2]
mov dword [0x4045e0], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x4c], 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 3
mov dword [0x4045d0], eax
mov eax, edi
mov dword [ebp - 0x44], 0x401341
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Hall
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x40150c
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.moossi
push str.Hall
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4045d8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4045d8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x40150c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x4014f1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401fdf
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x402008
mov al, byte [esi + 1]
inc esi
test al, al
je 0x402000
cmp al, 0x22
jne 0x401ff4
cmp byte [esi], 0x22
jne 0x402012
inc esi
jmp 0x402012
cmp al, 0x20
jle 0x402012
inc esi
cmp byte [esi], 0x20
jg 0x40200c
mov al, byte [esi]
test al, al
je 0x40201c
cmp al, 0x20
jle 0x402005
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040208c
push 0x404004
push section..data
call fcn.00402072
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40204c
movzx eax, word [ebp - 0x14]
jmp 0x40204f
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004020a4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
pushal
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4025ed
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp dword [ebp + 0x10], 0
je 0x40260d
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
cmp dword [ebp + 0xc], 0
je 0x402619
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
test ebx, ebx
je 0x402622
cmp byte [ebx], 0
jne 0x402629
xor eax, eax
jmp 0x4026da
xor ecx, ecx
mov dword [ebp - 8], ecx
xor esi, esi
jmp 0x402687
mov al, byte [ebx]
xor ecx, ecx
mov cl, al
inc ebx
cmp ecx, 0x3d
jne 0x40265b
cmp dword [ebp - 4], 0
je 0x40265b
cmp dword [ebp - 8], 0
jne 0x40265b
cmp dword [ebp + 0x10], 0
je 0x402656
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov dword [ebp - 8], edx
jmp 0x402686
xor ecx, ecx
mov cl, al
cmp ecx, 0xd
je 0x402669
cmp ecx, 0xa
jne 0x402671
cmp ecx, 0xd
jne 0x40268c
inc ebx
jmp 0x40268c
mov byte [edx], al
inc edx
mov eax, dword [ebp + 8]
add eax, 0xfffffffe
cmp esi, eax
jle 0x402686
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
jmp 0x40268c
inc esi
cmp byte [ebx], 0
jne 0x402632
mov byte [edx], 0
cmp dword [ebp - 4], 0
je 0x4026d8
mov edx, dword [ebp - 4]
mov byte [edx], 0
cmp dword [ebp - 8], 0
je 0x4026d8
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 8]
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov ecx, dword [ebp + 8]
dec ecx
lea edx, [ebp - 0x1008]
mov eax, dword [ebp - 4]
call fcn.0040fd30
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov byte [edx + ecx - 1], 0
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4026e2
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7c0
mov ebx, eax
mov eax, ebx
mov byte [esp], dl
lea esi, [esp + 4]
call fcn.0040fca0
cmp eax, 0x3f6
jae 0x402915
mov eax, esi
mov ecx, 0x3c
xor edx, edx
call fcn.0040fc20
mov dword [esi], 0x3c
xor eax, eax
mov dword [esi + 4], 0x5c0
mov al, byte [ebx]
cmp eax, 0x22
jne 0x40272f
lea edx, [ebx + 1]
jmp 0x402731
mov edx, ebx
mov dword [esi + 0x10], edx
xor eax, eax
jmp 0x402782
xor ecx, ecx
mov cl, dl
cmp ecx, 0x22
jne 0x40275a
jmp 0x402753
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x402753
mov byte [ebx + eax], 0x20
jmp 0x40275a
inc eax
cmp byte [ebx + eax], 0
jne 0x402743
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
je 0x40276f
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x2f
jne 0x402781
cmp edx, 0x20
jne 0x402778
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x402789
inc eax
mov dl, byte [ebx + eax]
test dl, dl
jne 0x402738
cmp byte [0x415cfe], 0
je 0x402799
mov dword [esi + 0x14], 0x415cfe
mov dword [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
call fcn.004062b0
mov edi, eax
test edi, edi
je 0x4027c5
mov edx, str..inf
mov eax, edi
call fcn.0040fda8
test eax, eax
jne 0x4027c5
mov dword [esi + 0xc], 0x415230
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.00406e60
mov byte [esp + 1], al
cmp byte [esp + 1], 0
je 0x4027ed
lea edx, [esp + 0x40]
mov eax, dword [esi + 0x10]
call fcn.00406f2c
lea ecx, [esp + 0x40]
mov dword [esi + 0x10], ecx
cmp byte [esp], 0
je 0x402830
cmp byte [esp + 1], 0
jne 0x402830
lea eax, [esp + 0x440]
mov edx, dword [esi + 0x10]
call fcn.0040fd20
mov edx, str..exe
lea eax, [esp + 0x440]
call fcn.0040fdf4
lea eax, [esp + 0x440]
xor edx, edx
call fcn.00406e60
test al, al
je 0x402915
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x40285a
and dword [esi + 4], 0xfffffbff
mov dword [esi + 0x10], ebx
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x402915
cmp byte [0x4158f4], 0
jne 0x402871
cmp byte [esp], 0
je 0x4028c7
mov ebx, dword [0x416180]
test ebx, ebx
je 0x402885
push ebx
call sub.USER32.DLL_IsWindowVisible
test eax, eax
jne 0x402889
xor eax, eax
jmp 0x40288e
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x4028a1
push 0
push dword [0x416180]
call sub.USER32.DLL_ShowWindow
push 0x7d0
push dword [esi + 0x38]
call sub.USER32.DLL_WaitForInputIdle
mov eax, dword [esi + 0x38]
call fcn.0040291f
test ebx, ebx
je 0x4028c7
push 1
push dword [0x416180]
call sub.USER32.DLL_ShowWindow
push dword [esi + 0x38]
call sub.KERNEL32.DLL_CloseHandle
test edi, edi
je 0x4028e3
mov edx, str..exe
mov eax, edi
call fcn.0040fda8
test eax, eax
je 0x402915
cmp byte [0x4158f4], 0
je 0x4028fe
cmp byte [esp], 0
jne 0x4028fe
push 0x1b58
call sub.KERNEL32.DLL_Sleep
jmp 0x402915
mov edx, 0xc8
cmp byte [esp], 0
jne 0x40290f
add edx, 0x320
push edx
call sub.KERNEL32.DLL_Sleep
add esp, 0x840
pop edi
pop esi
pop ebx
ret