joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4200a6
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56f2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4200db
xor eax, eax
jmp 0x42012e
lea eax, [ebp - 0x210]
push eax
call fcn.00502529
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x42010c
push 0x52acac
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00506a54
add esp, 0xc
test eax, eax
jne 0x4200d7
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00506a54
add esp, 0xc
test eax, eax
jne 0x4200d7
lea eax, [ebp - 0x210]
push eax
call fcn.004190c8
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005015aa
leave
ret

Function at 0x43b654
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0043b313
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43b69e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004159b2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00411a53
jmp 0x43b6a9
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00421cd7
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43b6af
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041688e
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43b6ec
call fcn.0043b313
mov dword [esi + 0xc], 1
jmp 0x43b6f1
call fcn.0043b313
cmp dword [esi], 0
je 0x43b73a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x43b712
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004159b2
jmp 0x43b724
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401660
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00411a53
jmp 0x43b75e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x43b75e
push dword [esi]
push dword [ebp + 8]
call fcn.00421cd7
pop esi
pop ebp
ret 0xc
Function at 0x46dcf7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x46dd11
call fcn.00416769
mov esi, dword [eax + 0xc]
push dword [0x5742cc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x46dd2f
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x46dd27
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x46dd5c
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x46dd29
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0046dc25
mov esi, eax
jmp 0x46dd4e

Function at 0x4e834b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e8363
mov edi, dword [esi + 0xc]
jmp 0x4e83a3
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e837c
call fcn.00412c32
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e8391
call fcn.00412c32
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e83a3
call fcn.00412c32
call fcn.00416769
cmp dword [eax + 0x3c], 0
je 0x4e83b8
push edi
mov ecx, ebx
call fcn.004e7211
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e8265
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e83d6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e83e2
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5015aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56f2f0]
jne 0x5015b4
repz ret
jmp fcn.00508c74
Function at 0x5159ed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56f2f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050b8fe
and dword [ebp - 0x14], 0
cmp dword [0x576c0c], 0
mov dword [ebp - 0x18], eax
jne 0x515aa0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x515b48
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x515b48
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x54f4b0
push ebx
mov dword [0x576c0c], eax
call edi
push eax
call esi
push 0x54f49c
push ebx
mov dword [0x576c10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x576c14], eax
call edi
push eax
call esi
mov dword [0x576c1c], eax
test eax, eax
je 0x515aa0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x576c18], eax
mov eax, dword [0x576c18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x515af9
cmp dword [0x576c1c], ecx
je 0x515af9
push eax
call esi
push dword [0x576c1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x515af9
test ebx, ebx
je 0x515af9
call edi
test eax, eax
je 0x515af0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x515af0
test byte [ebp - 8], 1
jne 0x515af9
or dword [ebp + 0x10], 0x200000
jmp 0x515b2c
mov eax, dword [0x576c10]
cmp eax, dword [ebp - 0x18]
je 0x515b2c
push eax
call esi
test eax, eax
je 0x515b2c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x515b2c
mov eax, dword [0x576c14]
cmp eax, dword [ebp - 0x18]
je 0x515b2c
push eax
call esi
test eax, eax
je 0x515b2c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x576c0c]
call esi
test eax, eax
je 0x515b48
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x515b4a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005015aa
leave
ret
Function at 0x965750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x799015
lea edi, [esi - 0x398015]
push edi
or ebp, 0xffffffff
jmp 0x965772
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x965779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x965768
mov eax, 1
add ebx, ebx
jne 0x96578b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x96579c
jne 0x9657bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9657bb
dec eax
add ebx, ebx
jne 0x9657a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x965780
add ebx, ebx
jne 0x9657b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x96580d
xor ecx, ecx
sub eax, 3
jb 0x9657d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x965842
sar eax, 1
mov ebp, eax
jmp 0x9657de
add ebx, ebx
jne 0x9657de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9657ac
inc ecx
add ebx, ebx
jne 0x9657ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9657ac
add ebx, ebx
jne 0x9657f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9657ee
jne 0x96580a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9657ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x96582c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x96581e
jmp 0x96576e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x96582c
add edi, ecx
jmp 0x96576e
pop esi
mov edi, esi
mov ecx, 0xd121
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x96584a
cmp byte [edi], 0x23
jne 0x96584a
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 0x96584f
lea edi, [esi + 0x555000]
mov eax, dword [edi]
or eax, eax
je 0x9658be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x575b68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x575b90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x96587c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x575b98]
or eax, eax
je 0x9658b8
mov dword [ebx], eax
add ebx, 4
jmp 0x965899
call dword [esi + 0x575b94]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9658f8
cmp al, 0xef
ja 0x9658e2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9658c4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x9658d1
mov eax, dword [edi]
add edi, 4
jmp 0x9658d1
mov ebp, dword [esi + 0x575b9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x96592c
sub esp, 0xffffff80
jmp 0x46cc20
Function at 0x42eb3f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get geographical location

Disassembly:
push ecx
push esi
push edi
push 0x4013bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x4013d8
push eax
mov dword [0x94da24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x9b56c4]
xor edi, edi
push edi
mov dword [0x94da1c], eax
call eax
lea ecx, [esp + 8]
push ecx
push reloc.kernel32.dll_EnumLanguageGroupLocalesW
push dword [0x9b56c4]
mov dword [0x92e69c], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp esi, 0xd0371e
jg 0x42ebb4
inc esi
mov eax, esi
cdq
cmp edx, 0x6d
jl 0x42eb89
jg 0x42ebb4
cmp eax, 0xd69e5f85
jb 0x42eb89
mov eax, dword [0x43b734]
mov edx, dword [0x9b56c4]
mov dword [0x9b56c8], eax
xor eax, eax
cmp edx, edi
pop edi
pop esi
jbe 0x42ebed
mov ecx, dword [0x9b56c8]
mov cl, byte [ecx + eax + 0xb2d3b]
mov edx, dword [0x92e69c]
mov byte [edx + eax], cl
mov edx, dword [0x9b56c4]
inc eax
cmp eax, edx
jb 0x42ebcc
mov ecx, dword [0x92e69c]
push 0x43b008
call fcn.0042eb02
mov eax, dword [0x92e69c]
mov dword [0x94da2c], eax
call eax
pop ecx
ret

Function at 0x433ec2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43dad8]
jne 0x433ecc
repz ret
jmp fcn.00437d75
Function at 0x4348e4
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.00431fc3
and dword [ebp - 4], 0
cmp dword [0x9b5df4], 0
mov ebx, eax
jne 0x434995
push 0x401d40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x434a46
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401d34
push edi
call esi
test eax, eax
je 0x434a46
push eax
call fcn.00431f51
mov dword [esp], 0x401d24
push edi
mov dword [0x9b5df4], eax
call esi
push eax
call fcn.00431f51
mov dword [esp], 0x401d10
push edi
mov dword [0x9b5df8], eax
call esi
push eax
call fcn.00431f51
mov dword [esp], 0x401cf4
push edi
mov dword [0x9b5dfc], eax
call esi
push eax
call fcn.00431f51
pop ecx
mov dword [0x9b5e04], eax
test eax, eax
je 0x434995
push 0x401cdc
push edi
call esi
push eax
call fcn.00431f51
pop ecx
mov dword [0x9b5e00], eax
mov eax, dword [0x9b5e00]
cmp eax, ebx
je 0x4349ed
cmp dword [0x9b5e04], ebx
je 0x4349ed
push eax
call fcn.00431fcc
push dword [0x9b5e04]
mov esi, eax
call fcn.00431fcc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4349ed
test edi, edi
je 0x4349ed
call esi
test eax, eax
je 0x4349e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4349e4
test byte [ebp - 0xc], 1
jne 0x4349ed
or dword [ebp + 0x10], 0x200000
jmp 0x434a26
mov eax, dword [0x9b5df8]
cmp eax, ebx
je 0x434a26
push eax
call fcn.00431fcc
pop ecx
test eax, eax
je 0x434a26
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x434a26
mov eax, dword [0x9b5dfc]
cmp eax, ebx
je 0x434a26
push eax
call fcn.00431fcc
pop ecx
test eax, eax
je 0x434a26
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x9b5df4]
call fcn.00431fcc
pop ecx
test eax, eax
je 0x434a46
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x434a48
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push str.Executing_shellcode..._n
call fcn.00401010
add esp, 4
push 0x40
push 0x1000
push 0x413f
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x40107a
push str.Error_allocating_memory_for_shellcode._n
call fcn.00401010
add esp, 4
lea eax, [ebx + 1]
pop ebx
ret
push esi
push edi
push str.hello
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x402190]
add al, 3
push esi
push 0x402158
mov byte [esi + 0x40b4b8], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x413f
jb 0x401091
xor esi, esi
nop dword [eax]
mov eax, esi
imul eax, esi
push eax
push 0x40215c
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x64
jl 0x4010c0
push 0x413f
push 0x413f
push 0x413f
push str._d__d__d
call fcn.00401010
add esp, 0x10
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x40b4b8]
sub al, 3
push esi
push 0x402158
mov byte [esi + 0x407378], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x413f
jb 0x4010f7
pop edi
pop esi
push 0x40216c
call fcn.00401010
push 0x413f
push 0x407378
push ebx
call sub.VCRUNTIME140.dll_memcpy
call ebx
push str.Shellcode_execution_complete._n
call fcn.00401010
add esp, 0x14
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop ebx
ret

Function at 0x401962
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019a1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019a1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019a1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019a1
cmp dword [ecx + 0x74], 0xe
jbe 0x4019a1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov esi, dword [edx]
mov eax, dword [ebp + 8]
mov ecx, dword [0x69c0c8]
xchg ebx, eax
sub esi, 0x40
in eax, 0x74
shr bl, cl
add byte [ecx - 1], dl
lea eax, [eax - 0x5effbf3f]
lodsb al, byte [esi]
add al, byte [ecx - 0x6c]
or dword [ebx], 0xc
test eax, eax
aam 0xf
push 0x40a26d
call dword [0xafc164]
add esp, 8
or al, 1
call dword [sym.imp.MSVCRT.dll_exit]
nop

Function at 0x406d60
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax + 0x34], al
sbb eax, dword [eax]
shr esp, cl
add al, 0x65
add byte [ebx], cl
ret
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
lds ecx, [ebp + 8]
jno 0x406db1
push 0x8383
push eax
push ecx
call 0x40e090
push eax
call dword [edx]
nop
rol byte [eax], 0x5d
inc edi
or byte [eax], al
popal
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
push ebp
mov esp, esi
mov ebx, dword [eax + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
ja 0x406d3a
adc byte [esi + 0x57], dl
push ecx
pushfd
call fcn.0040ad12
add esp, 0x54
test eax, eax
jne 0x406e04
sal byte [ebp + 0x50], 0x5c
pop esp
mov eax, 0xcd00001c
pop esi
adc eax, edx
or al, 0
mov byte [edi + esi - 1], 0xa1
xchg esp, eax
xor eax, eax
pop esi
pop ebp
bound ecx, qword [eax + eax]
push cs
nop
nop
nop

Function at 0x40a115
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x40a118
ljmp 0xe7b6:0xda8d5821

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
hlt
nop
nop
nop
push cs
push ebp
mov ebp, esp
mov eax, edx
or byte [eax - 0x7b], ch
mov byte [0x6cdf0040], al
add byte [eax - 0x18], dl
js 0x40a365
inc dword [ecx]
invalid
push ebp
pop esi
in al, dx
mov eax, dword [ebp - 0x71]
mov edx, dword [ebx + 0x14]
test dword [eax + 0x4d8b6974], edi
or al, 0x51
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
push esi
mov esi, dword [0x1250c098]
push dword [eax]
test dword [ebx - 9], ecx
add eax, 0x8c25d6e
mov al, 0xff
salc
add eax, 0xafc80
pop esi
pop ebp
ret 8
jg 0x40a39c
pop ebp
ret 0x5208
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xa122990
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x790c54cc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41cb26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x41cb35
pop dword [ebp - 0x50]
mov eax, 0x5d452200
add eax, 0xa2fca935
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xb5619066
sub dword [ebp - 0x60], 0x670f4b1b
mov dword [ebp - 0x5c], 0xde1f01e7
sub dword [ebp - 0x5c], 0xabebb5a2
mov dword [ebp - 0x58], 0x4819679e
sub dword [ebp - 0x58], 0xfbcd2370
mov dword [ebp - 0x54], 0xfe626c32
sub dword [ebp - 0x54], 0xfe626c32
lea eax, [ebp - 0x60]
push eax
mov eax, 0x1f58d02d
sub eax, 0x1f150e01
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x7df07e34
sub dword [ebp - 0x60], 0x97e14de
mov dword [ebp - 0x5c], 0x3b6a2e06
add dword [ebp - 0x5c], 0x602336f
mov dword [ebp - 0x58], 0xa7e690d9
sub dword [ebp - 0x58], 0x4477246d
mov dword [ebp - 0x54], 0x327fd913
sub dword [ebp - 0x54], 0x327fd913
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xad23ea0a
sub eax, 0xace0271a
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x4591c
push 0
call eax
mov ecx, 0x23e0e0a8
sub ecx, 0x23e099fb
mov edx, eax
mov ebx, 0x95c36f0a
add ebx, 0x6a83e6f6
add ebx, dword [ebp - 0x50]
mov esi, 0xbd6e3773
sub dword [ebp - 0x18], eax
mov edi, dword [ebx]
xor dword [ebp - 0x18], edx
add edi, esi
sub dword [ebp - 0x34], ebx
mov dword [edx], edi
xor dword [ebp - 0x20], esi
add edx, 4
add ebx, 0xa7d013a9
add ebx, 0x582fec5b
loop 0x41cc51
add eax, 0x10d87
xor ebx, ebx
add ebx, eax
add eax, 0x7515798
sub eax, 0x7515793
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8