joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4040fe
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x408040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
push 0x10002
mov dword [ebp - 0x18], 0x8000
call dword [sym.imp.mfc140u.dll_operator_1]
mov edi, eax
add esp, 4
test edi, edi
jne 0x401d97
push str..ja_JP
mov ecx, esi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
lea eax, [eax*2 + 1]
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 4
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x405654
push 0
push str.SoftwareAMA_SoftAsrMain001Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x401e1e
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push 0
push 0x4054fc
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401e1e
push edi
jmp 0x401e23
push str..ja_JP
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push edi
call dword [sym.imp.mfc140u.dll_operator]
mov eax, dword [ebp - 0x14]
add esp, 4
test eax, eax
je 0x401e44
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4020e0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
mov eax, dword fs:[0x2c]
push edi
mov edi, ecx
mov dword [esp + 4], edi
mov edx, dword [eax]
mov eax, dword [0x4086b8]
cmp eax, dword [edx + 4]
jle 0x402137
push 0x4086b8
call fcn.004035a9
add esp, 4
cmp dword [0x4086b8], 0xffffffff
jne 0x402137
mov ecx, 0x4086bc
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x404380
call fcn.00403518
push 0x4086b8
call fcn.00403558
add esp, 8
mov ecx, 0x4086bc
call dword [sym.imp.mfc140u.dll_Ordinal_8182]
test al, al
je 0x4021a8
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
mov ebp, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mfc140u.dll_operator_1]
mov esi, eax
add esp, 4
test esi, esi
je 0x4021a6
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40219c
push esi
mov ecx, 0x4086bc
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x4056d4
mov ecx, 0x4086bc
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_1]
push esi
call dword [sym.imp.mfc140u.dll_operator]
add esp, 4
pop esi
pop ebp
push 0x4086bc
mov ecx, edi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov eax, edi
pop edi
add esp, 8
ret
Function at 0x4038ed
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40392c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40392c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40392c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40392c
cmp dword [ecx + 0x74], 0xe
jbe 0x40392c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x49b4b7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x49b4c1
push 0x14
push 0x4f8748
call fcn.0049bc90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x49b4ef
xor ebx, ebx
jmp 0x49b522
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x49b4eb
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x49b4eb
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x49b522
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004a2216
test eax, eax
jne 0x49b536
push 0x1c
call main
pop ecx
call fcn.0049d03c
test eax, eax
jne 0x49b547
push 0x10
call main
pop ecx
call fcn.004a1725
and dword [ebp - 4], 0
call fcn.004a1f62
test eax, eax
jns 0x49b561
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x507a08], eax
call main
mov dword [0x50668c], eax
call main
test eax, eax
jns 0x49b587
push 8
call main
pop ecx
call fcn.004ace25
test eax, eax
jns 0x49b598
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x49b5ab
push eax
call main
pop ecx
call fcn.004ad07c
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x49b5cd
push esi
call main
call fcn.0049470a
jmp 0x49b602
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.0049bcd5
ret

Function at 0x4a0f7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4a0f8c
pop dword [ebp - 0x14]
mov eax, 0x12cc872e
sub eax, 0x128277a2
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xff2b4fd5
sub dword [ebp - 0x24], 0xb0d90a8a
mov dword [ebp - 0x20], 0xaeb7470f
add dword [ebp - 0x20], 0x837c0536
mov dword [ebp - 0x1c], 0xbd1aa536
sub dword [ebp - 0x1c], 0x70ce6108
mov dword [ebp - 0x18], 0x29fcdb28
sub dword [ebp - 0x18], 0x29fcdb28
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x500f60d7
add dword [ebp - 0x24], 0x2463087f
mov dword [ebp - 0x20], 0x4be7de46
sub dword [ebp - 0x20], 0xa7b7cd1
mov dword [ebp - 0x1c], 0x3328f690
sub dword [ebp - 0x1c], 0xcfb98a24
mov dword [ebp - 0x18], 0x124fd98c
add dword [ebp - 0x18], 0xedb02674
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x72b63
push 0
call eax
mov ecx, 0x9a1fc926
add ecx, 0x65e0821c
xor edi, edi
add edi, eax
mov edx, 0x537400
add edx, dword [ebp - 0x14]
mov esi, 0x1100a05c
add esi, 0x62af09dd
mov ebx, dword [edx]
xor dword [ebp - 8], 0x8dc36cd7
sub ebx, esi
add dword [ebp - 0x10], edx
mov dword [edi], ebx
add dword [ebp - 8], ecx
add edi, 4
add edx, 0x388bd6a3
add edx, 0xc7742961
loop 0x4a10a0
add eax, 0xb1c9fa59
sub eax, 0xb1c8da7e
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x62462334
add ecx, 0x9df9dccc
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x41b960
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x41f004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x4222a4]
imul eax, eax, 0x343fd
cmp dword [0x22c4e8c], 0x139e
mov dword [0x4222a4], eax
jne 0x41b9b3
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
mov eax, dword [esp]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4222a4]
add eax, 0x269ec3
push esi
mov dword [0x4222a4], eax
movzx esi, word [0x4222a6]
and esi, 0x7fff
cmp dword [0x22c4e8c], 0x8e7
jne 0x41b9e8
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x41ba70
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x41f004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4201f0]
push ebx
mov ebx, dword [0x22c4830]
push edi
mov edi, dword [0x22c4e8c]
call fcn.0041ba00
cmp dword [0x22c4e8c], 0x2f
jne 0x41bad5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.0041ba30
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x41be20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409150
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x41be49
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x41bef1
cmp dword [0x22c4e8c], 0xa5f
jne 0x41be95
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push str.keminivefayosexerukugufebaponif
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x41beba
mov eax, dword [0x421010]
mov dword [0x22c4e8c], eax
mov ecx, dword [0x22c4e8c]
add ecx, 0xa231
mov dword [0x22c4e8c], ecx
cmp dword [0x22c4e8c], 0x141
jne 0x41beec
push str.renej_luwoyisawopab_dadabayegutenecisufoba_wozonotuwugewiropoxu_vogiwipeladoxakanahotucucuwi
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4222a8], 0xec58acac
mov dword [0x4222ac], 0xffffffff
jmp 0x41be40
call fcn.0041baf0
jmp dword [0x22c4830]
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
push 0x3339c952
mov edi, 0x1b2c35d5
pop eax
xor edi, eax
push edi
mov ebx, 0x92cf3e8
xor ebx, 0x213925ef
pop esi
xor ebx, esi
mov esi, 0x54fff4c2
mov ecx, 0x4a8e8f01
xor ecx, esi
mov edx, ecx
xor edx, 0xffffffff
and edx, 0x1e716bcb
and ecx, 0xe18e9434
or ecx, edx
xor ebx, ecx
push 0x62668a20
mov edi, 0x62668a24
pop eax
xor edi, eax
sub esp, edi
xor edx, edx
add edx, esp
mov dword [edx], ebx
add esp, 0xfffffffc
mov edx, esp
mov dword [edx], ebx
pop esi
xor ebx, ebx
add ebx, esi
jmp 0x403f03

Function at 0x40520c
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
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
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
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406c2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406cba
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c77
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403278
jmp 0x406ca4
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c8b
lea eax, [ebp - 4]
call fcn.00403198
jmp 0x406c9a
lea edx, [ebp - 4]
call fcn.00406af0
test ebx, ebx
je 0x406c9a
dec ebx
jmp 0x406c7c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cc1
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x4caf20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x404926
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402158
xor edi, edi
push 0x4460c0
push 0x4460cc
mov word [ebp - 0x1c], di
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x28]
sub ebx, 1
jo 0x4cb0b5
cmp edi, ebx
jg 0x4cb03c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4cafc9
cmp word [ecx], 1
jne 0x4cafc9
mov edx, dword [ecx + 0x14]
mov esi, edi
sub esi, edx
mov edx, dword [ecx + 0x10]
cmp esi, edx
jb 0x4cafd4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jmp 0x4cafd1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov edx, dword [ecx + 0xc]
xor ecx, ecx
mov cl, byte [edx + esi]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
xor ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
movsx esi, ax
cmp esi, 0x100
jb 0x4cb006
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x56a998]
imul eax, eax, 0x100
mov edx, dword [ecx + esi*4]
mov ecx, 1
jo 0x4cb0b5
and eax, 0xffff
xor eax, edx
add ecx, edi
jo 0x4cb0b5
mov dword [ebp - 0x28], eax
mov edi, ecx
jmp 0x4caf9c
push 0x4460c0
push 0x4460cc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
xor ebx, eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x28]
push eax
push ecx
call fcn.004cf440
mov dl, byte [ebp - 0x20]
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], al
push 0x4cb09e
jmp 0x4cb09d
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40b48a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40b499
pop dword [ebp - 8]
mov eax, 0x7f885350
sub eax, 0x7f479eb7
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x7ef05d6f
add dword [ebp - 0x18], 0xcf61e7dc
mov dword [ebp - 0x14], 0x59d682f5
add dword [ebp - 0x14], 0xd85cc950
mov dword [ebp - 0x10], 0xb4c6f469
sub dword [ebp - 0x10], 0x687ab03b
mov dword [ebp - 0xc], 0xf6a03135
add dword [ebp - 0xc], 0x95fcecb
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x1c94b14f
sub dword [ebp - 0x18], 0xa82247f9
mov dword [ebp - 0x14], 0x191325b3
sub dword [ebp - 0x14], 0xd7a6c43e
mov dword [ebp - 0x10], 0x451f9259
sub dword [ebp - 0x10], 0xe1b025ed
mov dword [ebp - 0xc], 0xf935b207
sub dword [ebp - 0xc], 0xf935b207
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xf48e22a4
sub eax, 0xf44d525c
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9ee
push 0
call eax
mov ecx, 0x95e45796
add ecx, 0x6a1bf917
mov ebx, eax
mov esi, 0x41b000
add esi, dword [ebp - 8]
mov edi, 0xd1da7445
add dword [ebp - 4], 0x43ed1669
mov edx, dword [esi]
xor dword [ebp - 4], 0xe47ef72
add edx, edi
mov dword [ebx], edx
sub dword [ebp - 4], 0xbc163c9b
add ebx, 0x5a793d0e
add ebx, 0xa586c2f6
add esi, 0xc41e829e
add esi, 0x3be17d66
loop 0x40b5aa
add eax, 0xd8fc271a
add eax, 0x27050e6d
mov ebx, eax
add eax, 0xf15a1f55
sub eax, 0xf15a1f50
mov ecx, 0xb0069eaa
sub ecx, 0xafc69eaa
add ecx, dword [ebp - 8]
call ebx
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4d5f6236
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x32c35a8a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4116ef
pop dword [ebp - 0x28]
mov eax, 0xce7bd8db
add eax, 0x31c53e14
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x40152
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xdf4f2376
sub ecx, 0xdf4ed25e
mov edi, eax
mov edx, 0x435400
add edx, dword [ebp - 0x28]
mov esi, 0x58b09aee
xor dword [ebp - 0x14], 0xfa49927f
mov ebx, dword [edx]
xor dword [ebp - 0x1c], 0xa48b5e3
xor ebx, esi
xor dword [ebp - 0xc], 0x2cbb9f7c
mov dword [edi], ebx
sub dword [ebp - 0x10], 0x86744e8
add edi, 0xbcd0e020
sub edi, 0xbcd0e01c
add edx, 0x3ca9174
add edx, 0xfc356e90
loop 0x41173d
add eax, 0x7f6be7db
sub eax, 0x7f6ab0a8
xor ebx, ebx
add ebx, eax
add eax, 0x76eb2be7
sub eax, 0x76eb2be2
mov ecx, 0x508c9de9
sub ecx, 0x504c9de9
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

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

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00402767
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00402767
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00402767
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00402767
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00402767
mov dword [0x41203c], eax
call fcn.00402767
test eax, eax
jge 0x402550
push 8
call fcn.00402767
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00402767
pop ecx
push 1
call fcn.00402767
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00402767
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00402767
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00402767
jmp 0x402495

Function at 0x402767
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402776
pop dword [ebp - 0x24]
mov eax, 0x402776
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x38c12
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x37e17eb3
sub ecx, 0x37e13af5
xor esi, esi
add esi, eax
mov edx, 0xea2f8396
sub edx, 0xe9ee47d2
add edx, dword [ebp - 0x24]
mov edi, 0x8631b4de
sub edi, 0x6d8bfc54
xor dword [ebp - 0x1c], ecx
mov ebx, dword [edx]
xor dword [ebp - 4], edx
xor ebx, edi
mov dword [ebp - 0x18], 0xb91ba678
mov dword [esi], ebx
add dword [ebp - 0x20], edi
add esi, 4
add edx, 0x6ac64df5
sub edx, 0x6ac64df1
loop 0x4027cd
add eax, 0x101cb
xor ebx, ebx
add ebx, eax
add eax, 0xadf3b853
sub eax, 0xadf3b84e
mov ecx, 0xeff48bf2
sub ecx, 0xefb48bf2
add ecx, dword [ebp - 0x24]
call ebx
leave
ret