joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
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
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x40ea8f
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x431f10
call fcn.00411f28
mov edi, 0x94
mov eax, edi
call fcn.0040e130
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x463024], ecx
mov eax, dword [esi + 4]
mov dword [0x463030], eax
mov edx, dword [esi + 8]
mov dword [0x463034], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x463028], esi
cmp ecx, 2
je 0x40eaef
or esi, 0x8000
mov dword [0x463028], esi
shl eax, 8
add eax, edx
mov dword [0x46302c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40eb2a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40eb2a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40eb42
cmp eax, 0x20b
je 0x40eb2f
mov dword [ebp - 0x1c], esi
jmp 0x40eb56
cmp dword [ecx + 0x84], 0xe
jbe 0x40eb2a
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x40eb50
cmp dword [ecx + 0x74], 0xe
jbe 0x40eb2a
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00412718
pop ecx
test eax, eax
jne 0x40eb6a
push 0x1c
call fcn.0040ea6b
pop ecx
call fcn.00414148
test eax, eax
jne 0x40eb7b
push 0x10
call fcn.0040ea6b
pop ecx
call fcn.004142ec
mov dword [ebp - 4], esi
call fcn.004154f4
test eax, eax
jge 0x40eb94
push 0x1b
call fcn.0040ea46
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x464940], eax
call fcn.004153d2
mov dword [0x463068], eax
call fcn.00415330
test eax, eax
jge 0x40ebba
push 8
call fcn.0040ea46
pop ecx
call fcn.004150fd
test eax, eax
jge 0x40ebcb
push 9
call fcn.0040ea46
pop ecx
push 1
call fcn.0040e767
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x40ebe1
push eax
call fcn.0040ea46
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004150a0
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x40ec02
movzx eax, word [ebp - 0x40]
jmp 0x40ec05
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0041d7ae
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40ec23
push edi
call fcn.0040e894
call fcn.0040e8b6
jmp 0x40ec55
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00411f63
ret
Function at 0x4011b0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x64
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_OpenServiceW]
sub esp, 0xc
test eax, eax
je 0x4012c8
mov ebx, eax
lea eax, [ebp - 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_QueryServiceStatus]
sub esp, 8
mov edi, eax
test eax, eax
jne 0x401220
test byte [section..data], 2
jne 0x401330
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], 0x4050fa
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
cmp eax, 7
jbe 0x401318
mov eax, dword [ebp - 0x28]
mov edx, str.WIN32_SHARE_PROCESS
cmp eax, 0x20
je 0x401275
mov edx, str.WIN32
cmp eax, 0x30
je 0x401275
cmp eax, 0x10
mov edx, str.WIN32_OWN_PROCESS
mov ecx, 0x4050fa
cmovne edx, ecx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp + 0x10], ecx
mov dword [esp], str.SERVICE_NAME:__ls_n________TYPE_______________:__lx___ls_n________STATE______________:__lx___ls_n________WIN32_EXIT_CODE____:__lu___0x_lx__n________SERVICE_EXIT_CODE__:__lu___0x_lx__n________CHECKPOINT_________:_0x_lx_n________WAIT_HINT__________:_0x_lx_n
call fcn.004010a0
jmp 0x401203
test byte [section..data], 2
jne 0x4012e0
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_open_service__lu_n
xor edi, edi
mov dword [esp + 8], str.query_service
mov dword [esp + 4], 0x404000
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.00401150
jmp 0x4012d3
mov eax, dword [eax*4 + 0x405680]
mov dword [ebp - 0x30], eax
jmp 0x40124e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_query_service_status__lu_n
mov dword [esp + 8], str.query_service
mov dword [esp + 4], 0x404000
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.00401150
jmp 0x401203
Function at 0x402fa0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x403010
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x402ff0
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401390
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x373c0830
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x713a6b31
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4018f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
xor eax, eax
mov ecx, pe_nt_image_headers32
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x20c]
mov edi, ebx
sub esp, 0x2ac
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [ebp - 0x29c], pe_nt_image_headers32
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemCurrentControlSetControlTimeZoneInformation
mov dword [esp], 0x80000002
call esi
sub esp, 0x14
test eax, eax
je 0x4019e8
mov dword [esp], str.Time_Zone
call dword [sym.imp.ucrtbase.dll_wcslen]
mov esi, dword [ebp + 0x10]
mov dword [esp], 1
sub esi, eax
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x405074
mov dword [esp + 4], str.Time_Zone:_s__s_n
mov dword [esp], eax
call sym._fwprintf
mov eax, dword [ebp - 0x290]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x294]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x298]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x29c]
lea edi, [ebp - 0x28c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x298]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 8], 0
mov dword [esp + 4], str.TimeZoneKeyName
mov dword [ebp - 0x2a0], eax
call eax
sub esp, 0x18
test eax, eax
jne 0x40196d
lea eax, [ebp - 0x294]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionTime_Zones
mov dword [esp], 0x80000002
call esi
sub esp, 0x14
test eax, eax
jne 0x40196d
lea eax, [ebp - 0x290]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call esi
sub esp, 0x14
test eax, eax
jne 0x40196d
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x29c]
mov dword [esp + 0x10], ebx
mov dword [ebp - 0x29c], 0x200
mov dword [esp], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Display
call eax
sub esp, 0x18
jmp 0x40196d
Function at 0x402380
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp edi, 1
jle 0x402418
movzx eax, byte [section..data]
test al, 1
jne 0x4025e0
xor ebx, ebx
jmp 0x4023b7
add ebx, 1
cmp edi, ebx
je 0x402401
mov edx, eax
and edx, 1
je 0x4023b0
mov eax, dword [esi + ebx*4]
add ebx, 1
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], 0x405597
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx eax, byte [section..data]
mov edx, eax
and edx, 1
cmp edi, ebx
jne 0x4023b7
test dl, dl
jne 0x4025b0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x10], 0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
sub esp, 0x24
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x405fa8
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x405fc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jne 0x402409
mov dword [esp], str.ROOTCIMV2
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x402578
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x24
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
test esi, esi
jne 0x402578
mov edi, 0x405c20
xor ebx, ebx
mov esi, edi
lea esi, [esi]
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
cmp ebx, eax
cmovb ebx, eax
add esi, 0x14
mov eax, 0x405e78
cmp eax, esi
jne 0x402538
add ebx, 1
lea esi, [esi]
nop
mov eax, dword [ebp - 0x10]
mov edx, edi
mov ecx, ebx
add edi, 0x14
call sym._output_item
mov eax, 0x405e78
cmp eax, edi
jne 0x402560
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40258a
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x40559b
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.stub:
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx eax, byte [section..data]
jmp 0x4023a7
Function at 0x402660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4026b8
cmp byte [esi + ebx - 1], 0xa
je 0x40268c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4080a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x403130
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6e1e42df
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x4579543d
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0xc1d3946
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x6362057d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1001c3e0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x1001c3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1001c3ef
pop dword [ebp - 0x20]
mov eax, 0x37f5c70
add eax, 0xc82677f
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3fc5f
push 0
mov eax, 0x89af8c51
sub eax, 0x79ac9af5
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x4c0d5f99
add ecx, 0xb3f2e698
xor ebx, ebx
add ebx, eax
mov edx, 0x1004ac00
add edx, dword [ebp - 0x20]
mov edi, 0xe54ed214
sub edi, 0x959ccee3
add dword [ebp - 0x10], 0x55a2bed7
mov esi, dword [edx]
xor dword [ebp - 4], ebx
xor esi, edi
mov dword [ebp - 4], 0x6a3d6621
mov dword [ebx], esi
add dword [ebp - 8], eax
add ebx, 0xdf6dbf7f
sub ebx, 0xdf6dbf7b
add edx, 4
loop 0x1001c44a
add eax, 0xa6df8988
add eax, 0x5921820f
mov ebx, eax
add eax, 5
mov ecx, 0x57bd1c82
add ecx, 0xb842e37e
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x405930
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a850
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x439080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0040dd89
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040d5c4
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.004058d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40eb10
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40eb4f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40eb4f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40eb4f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40eb4f
cmp dword [ecx + 0x74], 0xe
jbe 0x40eb4f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41dabe
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4303f8
push 0x4303f0
push str.FlsAlloc
push 0x1f
call fcn.0041d9a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41daf2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c164]
call esi
jmp 0x41daf8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41db3c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430408
push 0x430400
push str.FlsGetValue
push 0x21
call fcn.0041d9a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41db73
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41db7b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430410
push 0x430408
push str.FlsSetValue
push 0x22
call fcn.0041d9a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41dbb5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]