joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5734a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, edx
sub eax, 0x80
push edi
mov edi, dword [ebp + 8]
je 0x5734e4
sub eax, 0x40
je 0x5734dc
sub eax, 0x40
jne 0x5736a4
mov dword [edi], 0xe
jmp 0x5734ea
mov dword [edi], 0xc
jmp 0x5734ea
mov dword [edi], 0xa
push esi
push edx
push ecx
lea eax, [ebp - 0x11c]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.00572f40
mov eax, dword [ebp - 0x11c]
shl eax, 4
add eax, dword [ebp - 0x118]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
dec ecx
add esi, 0x10
sub eax, 0x10
test ecx, ecx
jle 0x57368d
jmp 0x573540
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x6f5010]
mov edx, dword [edx*4 + 0x6f5110]
movzx edi, byte [eax + 2]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5510]
movzx edi, byte [eax + 1]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5938]
mov edi, dword [eax]
and edi, 0xff
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5d38]
dec ecx
mov dword [esi], edx
mov edx, dword [eax + 4]
movzx edi, byte [eax + 7]
movzx edi, byte [edi + 0x6f5010]
and edx, 0xff
movzx edx, byte [edx + 0x6f5010]
mov edx, dword [edx*4 + 0x6f5d38]
xor edx, dword [edi*4 + 0x6f5110]
movzx edi, byte [eax + 6]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5510]
movzx edi, byte [eax + 5]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5938]
add esi, 0x10
mov dword [esi - 0xc], edx
mov edx, dword [eax + 8]
movzx edi, byte [eax + 0xb]
movzx edi, byte [edi + 0x6f5010]
and edx, 0xff
movzx edx, byte [edx + 0x6f5010]
mov edx, dword [edx*4 + 0x6f5d38]
xor edx, dword [edi*4 + 0x6f5110]
movzx edi, byte [eax + 0xa]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5510]
movzx edi, byte [eax + 9]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5938]
sub eax, 0x10
mov dword [esi - 8], edx
mov edx, dword [eax + 0x1c]
movzx edi, byte [eax + 0x1f]
movzx edi, byte [edi + 0x6f5010]
and edx, 0xff
movzx edx, byte [edx + 0x6f5010]
mov edx, dword [edx*4 + 0x6f5d38]
xor edx, dword [edi*4 + 0x6f5110]
movzx edi, byte [eax + 0x1e]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5510]
movzx edi, byte [eax + 0x1d]
movzx edi, byte [edi + 0x6f5010]
xor edx, dword [edi*4 + 0x6f5938]
mov dword [esi - 4], edx
test ecx, ecx
jg 0x573540
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
Function at 0x5744a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x730
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x730], ecx
test eax, eax
jne 0x5744df
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
je 0x5744cc
push ebx
push edi
push eax
push 1
lea eax, [ebp - 0x720]
push 1
push eax
call fcn.0057b235
push 0x200
xor ebx, ebx
lea ecx, [ebp - 0x604]
push ebx
push ecx
add esi, 0x10
call fcn.0057a7a0
lea edx, [ebp - 0x728]
push edx
push str._02X
push esi
call fcn.0057c4d2
add esp, 0x28
test eax, eax
jle 0x574558
cmp ebx, 0x200
jge 0x574558
mov al, byte [ebp - 0x728]
lea ecx, [ebp - 0x728]
push ecx
add esi, 2
push str._02X
mov byte [ebp + ebx - 0x604], al
push esi
inc ebx
call fcn.0057c4d2
add esp, 0xc
test eax, eax
jg 0x574526
push 0x100
lea edx, [ebp - 0x604]
push edx
lea eax, [ebp - 0x71c]
push eax
call fcn.005734a0
mov cl, byte [ebp + 0x14]
xor edi, edi
add esp, 0xc
mov byte [ebp - 0x71d], cl
cmp dword [ebp + 0x10], edi
jle 0x574645
mov edx, dword [ebp - 0x72c]
push edx
push 0x10
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0057b235
add esp, 0x10
cmp eax, 0x10
jne 0x57468d
lea ecx, [ebp - 0x404]
push ecx
mov edx, ecx
push edx
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.005736c0
mov ecx, dword [ebp - 0x730]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [ebp - 0x71f], al
mov byte [ebp - 0x71e], al
lea esi, [ecx + edi + 1]
nop
mov cl, byte [ebp + eax - 0x404]
add byte [ebp - 0x71d], cl
mov byte [esi + eax - 1], cl
mov cl, byte [ebp + eax - 0x403]
add byte [ebp - 0x71e], cl
mov byte [esi + eax], cl
mov cl, byte [ebp + eax - 0x402]
add byte [ebp - 0x71f], cl
mov byte [esi + eax + 1], cl
mov cl, byte [ebp + eax - 0x401]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x5745e0
add dl, byte [ebp - 0x71f]
add edi, 0x10
add dl, byte [ebp - 0x71e]
add byte [ebp - 0x71d], dl
cmp edi, dword [ebp + 0x10]
jl 0x574587
mov edx, dword [ebp - 0x72c]
push edx
push 1
lea eax, [ebp - 0x721]
push 1
push eax
call fcn.0057b235
mov al, byte [ebp - 0x720]
add esp, 0x10
cmp al, byte [ebp - 0x721]
jne 0x57468d
cmp al, byte [ebp - 0x71d]
jne 0x57468d
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 0x10
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 0x10

Function at 0x57ad52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6c0558]
jne 0x57ad5c
repz ret
jmp fcn.005834e2
Function at 0x58b2ef
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6c0558]
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.00585475
and dword [ebp - 0x14], 0
cmp dword [0x6f8060], 0
mov dword [ebp - 0x18], eax
jne 0x58b3a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x58b44a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x58b44a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5b3d1c
push ebx
mov dword [0x6f8060], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6f8064], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6f8068], eax
call edi
push eax
call esi
mov dword [0x6f8070], eax
test eax, eax
je 0x58b3a2
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6f806c], eax
mov eax, dword [0x6f806c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x58b3fb
cmp dword [0x6f8070], ecx
je 0x58b3fb
push eax
call esi
push dword [0x6f8070]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x58b3fb
test ebx, ebx
je 0x58b3fb
call edi
test eax, eax
je 0x58b3f2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x58b3f2
test byte [ebp - 8], 1
jne 0x58b3fb
or dword [ebp + 0x10], 0x200000
jmp 0x58b42e
mov eax, dword [0x6f8064]
cmp eax, dword [ebp - 0x18]
je 0x58b42e
push eax
call esi
test eax, eax
je 0x58b42e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x58b42e
mov eax, dword [0x6f8068]
cmp eax, dword [ebp - 0x18]
je 0x58b42e
push eax
call esi
test eax, eax
je 0x58b42e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6f8060]
call esi
test eax, eax
je 0x58b44a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x58b44c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ad52
leave
ret
Function at 0x298072e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x29876b48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x29807306
xor eax, eax
jmp 0x298073c1
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x29807328
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x29807328
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x298073c1
cmp dword [esi + 0x4c], 0
je 0x298073bf
call fcn.29806a7d
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x29807352
push dword [esi + 0x4c]
push eax
call fcn.2984df78
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x298073bf
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x298073bf
cmp eax, 1
jle 0x2980738d
cmp eax, 3
jne 0x298073bf
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x29807344
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x298073b1
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x298073bf
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x298073c1
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.29801cc0
leave
ret 4
Function at 0x29826d7d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x29854690
call fcn.2985114e
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x29826f9e
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2984df78
add esp, 0x10
test eax, eax
js 0x29826f98
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x29826e21
push edi
call fcn.29827ddd
pop ecx
test al, al
je 0x29826e21
mov eax, edi
call fcn.29851670
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x29826e33
push edi
lea ecx, [ebp - 0x424]
call fcn.2984df78
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2984df78
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x29826f98
push 0x60
push ebx
push eax
call fcn.29828150
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x29826e8b
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.29828150
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x29826e8b
call fcn.29825061
mov ebx, eax
jmp 0x29826f67
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x29826eb2
call fcn.29825061
jmp 0x29826f5a
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x29826ea8
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x29826ee5
mov ebx, 0x8007000e
jmp 0x29826f5c
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2984df78
jmp 0x29826f0b
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x29826ede
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2984df78
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2984df78
mov ebx, eax
test edi, edi
je 0x29826f67
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x29826f80
lea ecx, [ebp - 0x418]
call fcn.29825bb4
or dword [ebp - 4], 0xffffffff
jmp 0x29826f90
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x29826f86
mov eax, ebx
jmp 0x29826fcc
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x29826fb3
lea ecx, [ebp - 0x418]
call fcn.29825bb4
or dword [ebp - 4], 0xffffffff
jmp 0x29826fc3
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x29826fb9
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.29851106
ret 0x10
Function at 0x1000d800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000d83d
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0x1000ea40
push 0
push 0
mov dword [0x10135b2c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x1000d6e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000d850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ax, word [0x100d1c4c]
movq xmm0, qword [str.EV_XeR_T9]
movq qword [ebp - 0xc], xmm0
mov word [ebp - 4], ax
push esi
mov esi, ecx
test ah, ah
je 0x1000d899
push ebx
xor ebx, ebx
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x30
xor byte [ebp + ebx - 0xc], cl
inc ebx
cmp ebx, 0xa
jl 0x1000d877
pop ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x1000d8c4
xor al, al
movsx ecx, al
cmp byte [ecx + edx], 0xb8
je 0x1000d8d7
inc al
cmp al, 0xf
jl 0x1000d8b5
xor eax, eax
mov ecx, esi
push eax
call fcn.1000d8f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + edx + 1]
mov ecx, esi
push eax
call fcn.1000d8f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100150d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd51c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101354c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 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
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10015184
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 9
call fcn.100156e0
mov ecx, dword [edi + 0x1c]
xor ebx, ebx
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
test ecx, ecx
jns 0x100151cc
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x100151cc
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x100151d6
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
push 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.10021f20
mov edx, dword [edi + 0x10]
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x20], edx
test ecx, ecx
jns 0x1001520d
neg eax
cmp esi, eax
jae 0x1001520d
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x10015217
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.10011110
mov ecx, dword [ebp + 0x30]
add esp, 0x14
test ecx, ecx
je 0x10015246
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x1001b9f0
Capabilities:
Create thread

Disassembly:
call fcn.100c7590
push 0x10135d50
push 0x10024aa0
push dword [0x10135b28]
call fcn.100c76d0
push 0x10135bbc
push 0x1002c320
push dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.100c76d0
push 0
call fcn.100c7af0
push 0
push 0
push 0
push 0x1001eaf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x1001d620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101354c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x1011456c
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ebx, dword [ebp - 8]
add esp, 0xc
test ebx, ebx
jne 0x1001d66c
lea eax, [ebx - 3]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca284
mov esp, ebp
pop ebp
ret 4
push esi
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x1001d686
mov esi, 0xfffffffd
jmp 0x1001d6fd
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
add esp, 4
test esi, esi
js 0x1001d67f
jne 0x1001d69c
xor esi, esi
jmp 0x1001d6fd
push edi
lea eax, [esi + 1]
push 0x101298d0
push eax
call fcn.100cac73
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001d6b9
lea esi, [eax - 2]
jmp 0x1001d6fc
push 0
push 0
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push ebx
push esi
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x1c
cmp eax, esi
je 0x1001d6e7
push edi
call fcn.100ca4ab
mov esi, 0xfffffffd
jmp 0x1001d6f9
mov ecx, dword [ebp - 0xc]
push eax
push edi
call fcn.1001d4a0
push edi
mov esi, eax
call fcn.100ca4ab
add esp, 4
pop edi
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.100ca284
mov esp, ebp
pop ebp
ret 4
Function at 0x10021b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101354c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10021c1c
cmp byte [esi + 0x3d], 0
je 0x10021c1c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10021c0a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10021bd1
sub eax, 1
je 0x10021bd5
sub eax, 2
jne 0x10021c0a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca284
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10021bf3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10021c0a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca284
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca284
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100ca284
mov esp, ebp
pop ebp
ret

Function at 0x10023cb0
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cddb5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101354c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x3c]
push str.start_cmd__C__color_b__title_Error__echo
push eax
call fcn.1000f1e0
push str.__timeout__t_5__nul_2_1
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.1000f100
add esp, 0x18
mov ecx, eax
call fcn.10022420
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.100069d0
lea ecx, [ebp - 0x3c]
call fcn.100069d0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1002f8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce805
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101354c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.10076490
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x1002f96b
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.100040e0
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xf
jbe 0x1002faa0
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f95c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f95c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100ca494
add esp, 8
jmp 0x1002faa0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
movaps xmm0, xmmword [0x101158d0]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 4], 1
movaps xmm0, xmmword [0x101155c0]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x38], 1
lea eax, [ecx - 0x31]
xor byte [ebp + ecx - 0x58], al
inc ecx
cmp ecx, 0x1f
jb 0x1002f9a1
lea eax, [ebp - 0x58]
mov byte [ebp - 0x38], 0
push eax
push 0x2712
push edi
call fcn.10079a60
push 0
push 0x40
push edi
call fcn.10079a60
push 0
push 0x51
push edi
call fcn.10079a60
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp + 0xc]
cmova eax, dword [ebp + 0xc]
push eax
push 0x271f
push edi
call fcn.10079a60
push 0x10033480
push 0x4e2b
push edi
call fcn.10079a60
lea eax, [ebp - 0x2c]
push eax
push 0x2711
push edi
call fcn.10079a60
add esp, 0x48
push edi
call fcn.100764f0
add esp, 4
test eax, eax
je 0x1002fa31
push 0x10
push 0
push eax
call fcn.10075c80
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.10076450
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x200002
push edi
call fcn.10076470
add esp, 0x10
cmp dword [ebp - 0x14], 0x1ad
je 0x1002fabd
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x2c], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
call fcn.100069d0
lea ecx, [ebp + 0xc]
call fcn.100069d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ca284
mov esp, ebp
pop ebp
ret
sub esp, 0x18
mov ecx, esp
push str.Youre_connecting_too_fast_to_loader__slow_down.
call fcn.10006000
call fcn.10023cb0
int3