joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cad8e
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x658bb0]
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, ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
movaps xmm0, xmmword [0x649700]
movups xmmword [ebp - 0x5c], xmm0
push 0
movaps xmm0, xmmword [0x649710]
movups xmmword [ebp - 0x4c], xmm0
push 0x63f7d5
movaps xmm0, xmmword [0x649720]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x7a797877
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0x33323130
movups xmmword [esi], xmm0
mov dword [ebp - 0x24], 0x37363534
mov word [ebp - 0x20], 0x3938
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00462a70
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x18], 1
nop dword [eax]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3e
idiv ecx
mov ecx, dword [esi + 0x10]
mov al, byte [ebp + edx - 0x5c]
mov byte [ebp - 0x14], al
cmp ecx, 0x7fffffff
je 0x456cb1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x456bde
mov eax, dword [esi]
push 1
lea edx, [ebp - 0x14]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
call fcn.00464290
or dword [ebp - 0x18], 2
lea eax, [ebp - 0x78]
cmp esi, eax
je 0x456c54
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x456c30
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x456c26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456cab
mov eax, edx
push ecx
push eax
call fcn.005c6577
add esp, 8
movups xmm0, xmmword [ebp - 0x78]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [esi + 0x10], xmm0
jmp 0x456c84
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x456c84
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x456c7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456cab
push ecx
push edx
call fcn.005c6577
add esp, 8
inc edi
cmp edi, 0x20
jl 0x456bb0
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.005c61f7
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00447160
int3
Function at 0x45abc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x658bb0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
call fcn.00451fb0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor esi, esi
push esi
push 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
call ebx
mov edi, eax
mov dword [esp + 0x18], pe_nt_image_headers32
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x45ac7b
mov ecx, str.ProjectTitan.exe
lea eax, [esp + 0x3c]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45ac50
test dl, dl
je 0x45ac4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45ac50
add eax, 2
add ecx, 2
test dl, dl
jne 0x45ac30
xor eax, eax
jmp 0x45ac55
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ac6b
mov eax, dword [esp + 0x2c]
cmp eax, esi
jle 0x45ac6b
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x45ac21
xor edi, edi
xor esi, esi
push edi
push 2
call ebx
mov ebx, eax
mov dword [esp + 0x140], pe_nt_image_headers32
lea eax, [esp + 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
lea eax, [esp + 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x45ad20
nop dword [eax]
nop word [eax + eax]
mov eax, 0x63fdf0
lea ecx, [esp + 0x164]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x45acf0
test dl, dl
je 0x45acec
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x45acf0
add ecx, 2
add eax, 2
test dl, dl
jne 0x45acd0
xor eax, eax
jmp 0x45acf5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ad0d
mov eax, dword [esp + 0x154]
cmp eax, edi
jle 0x45ad0d
mov esi, dword [esp + 0x148]
mov edi, eax
lea eax, [esp + 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x45acc0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45ad2d
cmp eax, 1
jne 0x45ad3d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45ad3b
cmp eax, 1
cmovne esi, eax
mov eax, esi
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
Function at 0x45cb10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x45cb3c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x45cb64
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x45cb6a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x45cbd2
jg 0x45cb81
test esi, esi
je 0x45cbd2
test ecx, ecx
jl 0x45cbcd
jg 0x45cb8b
test eax, eax
je 0x45cbcd
cmp edi, ecx
jg 0x45cb9f
jl 0x45cb95
cmp esi, eax
jae 0x45cb9f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x45cbd5
mov ecx, dword [ebp + 8]
jmp 0x45cbdf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x45cbf9
jg 0x45cbdf
test esi, esi
je 0x45cbf9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x45cbf9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45cc10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x45cc3c
jl 0x45cc30
test ecx, ecx
jne 0x45cc3c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x45cc55
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x45cca3
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x45cca9
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x45cca9
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x45cd16
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x45ccd2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x45cd04
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x45cd16
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x45cce0
test edi, edi
je 0x45cd16
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45d090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x45d0c0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x45d0fc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x45d0fc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x45d1d3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x45d124
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d130
movsx eax, bl
jmp 0x45d168
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
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]
sub eax, 0
je 0x45d192
sub eax, 1
je 0x45d192
sub eax, 2
jne 0x45d1d3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x45d1b0
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 0x45d1d3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c61f7
mov esp, ebp
pop ebp
ret 4
Function at 0x45f630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x45f6ec
cmp byte [esi + 0x3d], 0
je 0x45f6ec
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x45f6da
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 0x45f6a1
sub eax, 1
je 0x45f6a5
sub eax, 2
jne 0x45f6da
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x45f6c3
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 0x45f6da
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005c61f7
mov esp, ebp
pop ebp
ret

Function at 0x462020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x642164
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 0x46206c
lea eax, [ebx - 3]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
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 0x462086
mov esi, 0xfffffffd
jmp 0x4620fd
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 0x46207f
jne 0x46209c
xor esi, esi
jmp 0x4620fd
push edi
lea eax, [esi + 1]
push 0x63da78
push eax
call fcn.005c658e
mov edi, eax
add esp, 8
test edi, edi
jne 0x4620b9
lea esi, [eax - 2]
jmp 0x4620fc
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 0x4620e7
push edi
call fcn.005c6205
mov esi, 0xfffffffd
jmp 0x4620f9
mov ecx, dword [ebp - 0xc]
push eax
push edi
call fcn.0046b600
push edi
mov esi, eax
call fcn.005c6205
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.005c61f7
mov esp, ebp
pop ebp
ret 4
Function at 0x470d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x63da78
push 0x64
mov esi, edx
call fcn.005c65ba
mov edi, eax
add esp, 8
test edi, edi
je 0x470f00
push 0x63
lea ecx, [edi + 1]
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi], 1
lea eax, [edi + 4]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 0xc
mov dword [0x10bdfc4], edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push 0x649558
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.0046fc90
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x109cf20
mov dword [0x10ce11c], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x470dd0
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x109cf4c]
cmp eax, 0x7fffffff
jne 0x470dea
dec eax
push 6
mov dword [0x109cf4c], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test esi, esi
je 0x470dff
movups xmm0, xmmword [esi]
movups xmmword [0x10ce338], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x470e09
xorps xmm0, xmm0
movups xmmword [0x10ce338], xmm0
movq qword [0x10ce348], xmm0
xorps xmm0, xmm0
push 0x109cf20
movups xmmword [0x10ce550], xmm0
movq qword [0x10ce560], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x10ce134], 0
jne 0x470f0a
mov ecx, 0x649558
mov dword [0x10bdfc8], 0x1095258
mov esi, 1
mov edx, 0x10bdfd8
sub esi, ecx
nop dword [eax]
lea eax, [ecx + esi]
cmp eax, 0x40
jae 0x470e73
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp byte [ecx], 0
jne 0x470e60
mov esi, dword [0x10bdfc4]
mov al, 1
mov byte [edx], 0
mov dword [0x10ce134], 0x10bdfc8
mov dword [0x10bdfd0], 0x471340
mov dword [0x10bdfd4], 0x471350
xchg byte [esi], al
push 4
call fcn.005c62f6
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x471730
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x470ef1
cmp dword [esi + 0x60], 0
je 0x470ed8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x10bdfc4], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
Function at 0x471e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10ce134]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x471f42
mov eax, dword [edi]
test eax, eax
je 0x471ef1
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x471ef1
test ebx, ebx
je 0x471ef1
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x471ef1
cmp dword [ebp - 8], esi
je 0x471f42
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x471f11
mov eax, dword [edi + 4]
cmp eax, 3
je 0x471f05
cmp eax, 1
jne 0x471f11
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c61f7
mov esp, ebp
pop ebp
ret 8
Function at 0x476d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov esi, ecx
cmp dword [eax + 0x14], 0x10
mov edx, dword [ebp + 0xc]
push edi
jb 0x476da5
mov eax, dword [eax]
push 0
push 0x80
push edx
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x476dff
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x476dff
cmp dword [ebp - 8], ebx
jne 0x476dff
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c61f7
mov esp, ebp
pop ebp
ret

Function at 0x476e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd3fd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push edx
push eax
push ecx
call fcn.00476f60
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov ebx, dword [ebp - 0x18]
cmp edi, ebx
je 0x476efd
sub ebx, edi
xor esi, esi
sar ebx, 2
test ebx, ebx
je 0x476ef9
mov eax, dword [edi + esi*4]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
push 3
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push 3
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x476ef0
lea eax, [ebp - 0x24]
push eax
push ecx
push 3
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x476efd
inc esi
cmp esi, ebx
jb 0x476ea5
mov bl, 1
jmp 0x476eff
xor bl, bl
test edi, edi
je 0x476f35
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x476f2b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x476f2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.005c6577
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
Function at 0x47b640
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x10998e4], 0
jne 0x47b64e
call fcn.0048fca0
cmp byte [0x10998ed], 0
je 0x47b66c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00490030
add esp, 0x10
ret
jmp fcn.004799f0