joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10003548]
jne 0x10009f63
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1000c4d0], eax
mov dword [0x1000c4cc], ecx
mov dword [0x1000c4c8], edx
mov dword [0x1000c4c4], ebx
mov dword [0x1000c4c0], esi
mov dword [0x1000c4bc], edi
mov word [0x1000c4e8], ss
mov word [0x1000c4dc], cs
mov word [0x1000c4b8], ds
mov word [0x1000c4b4], es
mov word [0x1000c4b0], fs
mov word [0x1000c4ac], gs
pushfd
pop dword [0x1000c4e0]
mov eax, dword [ebp]
mov dword [0x1000c4d4], eax
mov eax, dword [ebp + 4]
mov dword [0x1000c4d8], eax
lea eax, [ebp + 8]
mov dword [0x1000c4e4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1000c420], 0x10001
mov eax, dword [0x1000c4d8]
mov dword [0x1000c3d4], eax
mov dword [0x1000c3c8], 0xc0000409
mov dword [0x1000c3cc], 1
mov eax, dword [0x10003548]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1000c198]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1000c418], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x1000a064
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1000c418], 0
jne 0x1000a04f
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x10008c12
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10008c21
pop dword [ebp - 0x14]
mov eax, 0x68b35af4
add eax, 0xa74d312d
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x4e33b50a
add dword [ebp - 0x24], 0x1e9041
mov dword [ebp - 0x20], 0xf572a27a
sub dword [ebp - 0x20], 0xc33f5635
mov dword [ebp - 0x1c], 0xaea7fa44
add dword [ebp - 0x1c], 0x9da449ea
mov dword [ebp - 0x18], 0x4d692869
sub dword [ebp - 0x18], 0x4d692869
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7b39c6b3
add dword [ebp - 0x24], 0xf938a2a3
mov dword [ebp - 0x20], 0xeb3893bb
add dword [ebp - 0x20], 0x5633cdba
mov dword [ebp - 0x1c], 0x323b0897
add dword [ebp - 0x1c], 0x313463d5
mov dword [ebp - 0x18], 0xc1acffde
sub dword [ebp - 0x18], 0xc1acffde
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3c06f
push 0
call eax
mov ecx, 0x274e56f7
sub ecx, 0x274e0208
mov edx, eax
mov ebx, 0x1000e800
add ebx, dword [ebp - 0x14]
mov esi, 0x80aea219
sub dword [ebp - 0xc], eax
mov edi, dword [ebx]
sub dword [ebp - 0x10], 0x2f8dae53
add edi, esi
xor dword [ebp - 8], 0x1e6eeb58
mov dword [edx], edi
xor dword [ebp - 4], edx
add edx, 0xf1fe825a
sub edx, 0xf1fe8256
add ebx, 0xf74ca2f1
sub ebx, 0xf74ca2ed
loop 0x10008d2d
add eax, 0xb74e0d63
sub eax, 0xb74cc6d4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa155ce5a
sub ecx, 0x9155ce5a
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10006857
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10006866
pop dword [ebp - 0x44]
mov eax, 0x713b0ddb
add eax, 0x9ec55a8b
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x37bd2
push 0
mov eax, 0x845a199d
sub eax, 0x7458a85d
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x3f6b
mov edx, eax
mov ebx, 0x64016866
add ebx, 0xac00eb9a
add ebx, dword [ebp - 0x44]
mov edi, 0x2e7b73fe
add edi, 0xd70c5373
mov dword [ebp - 0x14], 0xcc170b98
mov esi, dword [ebx]
sub dword [ebp - 0x34], 0x4fb16ad6
add esi, edi
xor dword [ebp - 0x38], eax
mov dword [edx], esi
add dword [ebp - 0x34], 0xbefdb2ff
add edx, 4
add ebx, 0x8f27cee8
add ebx, 0x70d8311c
loop 0x100068bf
add eax, 0x269cae0f
sub eax, 0x269bbd90
xor ebx, ebx
add ebx, eax
add eax, 0x43a334c1
add eax, 0xbc5ccb44
mov ecx, 0x7a34c217
add ecx, 0x95cb3de9
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10053950
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x103e1bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
jne 0x10053994
push 0x62
push str.D:1DLLDLLdsoundDiscord_SDK_srcconnection_win.cpp
push 0x103c1d54
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1024d940
mov esp, ebp
pop ebp
ret 8
test esi, esi
jne 0x100539c1
push 0x67
push str.D:1DLLDLLdsoundDiscord_SDK_srcconnection_win.cpp
push str.self
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1024d940
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
push edi
cmp eax, 0xffffffff
je 0x10053a53
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10053a40
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 8], edi
jb 0x10053a53
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x10053a40
cmp edi, dword [ebp - 0xc]
je 0x10053a2b
push 0x74
push str.D:1DLLDLLdsoundDiscord_SDK_srcconnection_win.cpp
push str.bytesToRead__bytesRead
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1024d940
mov esp, ebp
pop ebp
ret 8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi], 0
mov dword [esi + 4], 0xffffffff
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1024d940
mov esp, ebp
pop ebp
ret 8
Function at 0x10054a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x103e1bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x102c69e0
push 0x64
mov esi, edx
call fcn.1024dfbd
mov edi, eax
add esp, 8
test edi, edi
je 0x10054c35
push 0x64
push 0
push edi
call sub.VCRUNTIME140.dll_memset
lea eax, [edi + 4]
mov byte [edi], 1
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push 2
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
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 [0x10464b88], edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push str.1192942243087126648
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10053b20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x104331a8
mov dword [0x10464b8c], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10054b0c
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x104331d4]
cmp eax, 0x7fffffff
jne 0x10054b26
dec eax
push 6
mov dword [0x104331d4], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test esi, esi
je 0x10054b3b
movups xmm0, xmmword [esi]
movups xmmword [0x10464a70], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x10054b45
xorps xmm0, xmm0
movups xmmword [0x10464a70], xmm0
movq qword [0x10464a80], xmm0
xorps xmm0, xmm0
push 0x104331a8
movups xmmword [0x10464c90], xmm0
movq qword [0x10464ca0], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x10468cac], 0
jne 0x10054c3f
mov eax, str.1192942243087126648
mov dword [0x10454250], 0x104298a0
mov esi, 1
mov edx, 0x10454260
sub esi, eax
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x10054ba8
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x10054b95
mov esi, dword [0x10464b88]
mov al, 1
mov byte [edx], 0
mov dword [0x10468cac], 0x10454250
mov dword [0x10454258], 0x10054fa0
mov dword [0x1045425c], 0x10054fb0
xchg byte [esi], al
push 4
call fcn.1024da37
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10055540
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 0x10054c26
cmp dword [esi + 0x60], 0
je 0x10054c0d
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.1024d940
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 [0x10464b88], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1024d940
mov esp, ebp
pop ebp
ret
Function at 0x10055c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x103e1bc0]
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 [0x10468cac]
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 0x10055d90
mov eax, dword [edi]
test eax, eax
jne 0x10055cfc
push 0x4f
push str.D:1DLLDLLdsoundDiscord_SDK_srcconnection_win.cpp
push str.self
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x10055d3f
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10055d3f
test ebx, ebx
jne 0x10055d1f
push 0x56
push str.D:1DLLDLLdsoundDiscord_SDK_srcconnection_win.cpp
push 0x103c1d54
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x10055d3f
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 0x10055d3f
cmp dword [ebp - 8], esi
je 0x10055d90
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10055d5f
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10055d53
cmp eax, 1
jne 0x10055d5f
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.1024d940
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.1024d940
mov esp, ebp
pop ebp
ret 8
Function at 0x1005b3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251b90
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x103e1bc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x1005b404
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x1005b415
push 0x48
push esi
call fcn.1024dd81
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1005b9b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251cb1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x103e1bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
push 0
mov dword [ebp - 0x1c], 0
call fcn.101034e0
mov dword [ebp - 4], 0
mov dword [edi], vtable.CryptoPP::BaseN_Decoder.0
mov dword [edi + 4], vtable.CryptoPP::BaseN_Decoder.1.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 + 0x30], 0xffffffff
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10104030
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10105b90
mov esi, eax
push 0x14
mov byte [ebp - 4], 3
call fcn.1024da37
mov ecx, eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], str.DecodingLookupArray
mov word [ecx + 8], 1
mov dword [ecx + 0xc], 0
mov dword [ecx], vtable.CryptoPP::AlgorithmParametersTemplate_int_const__.0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
mov dword [esi + 4], 0
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
test edx, edx
je 0x1005bac2
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 4]
mov dword [ebp - 0x14], 0
test edx, edx
je 0x1005bade
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.10105b10
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1005bb0a
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push str.Log2Base
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], vtable.CryptoPP::NameValuePairs.0
call fcn.10066da0
push eax
mov ecx, edi
call fcn.101099f0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1005bb3f
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, edi
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.1024d940
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005bb60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251b90
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x103e1bc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x1005bbb7
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x1005bbc8
push 0x3c
push esi
call fcn.1024dd81
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1005daa0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x1005dac2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x5b]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x1005dab0
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret
Function at 0x10060030
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 0x4a], 0
je 0x10060052
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x5b]
inc eax
xor byte [edx], cl
cmp eax, 0x49
jb 0x10060040
mov byte [esi + 0x4a], 0
mov edx, esi
mov ecx, edi
call fcn.10066f90
mov eax, edi
pop edi
pop esi
ret

Function at 0x10060060
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 0x15], 0
je 0x10060082
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x5b]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x10060070
mov byte [esi + 0x15], 0
mov edx, esi
mov ecx, edi
call fcn.10066f90
mov eax, edi
pop edi
pop esi
ret
Function at 0x10060ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102527dd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x103e1bc0]
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 - 0x2c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
call fcn.101198e0
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x1006109f
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.10049450
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x10061082
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061078
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100611d9
push ecx
push edx
call fcn.1024dd81
add esp, 8
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.1024d940
mov esp, ebp
pop ebp
ret
movups xmmword [ebp - 0x28], xmm0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movaps xmm0, xmmword [str.3__._ZNM]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x14], 0xf
movaps xmm0, xmmword [0x103d0680]
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x504c5312
mov dword [ebp - 0x30], 0x100af4f
nop dword [eax + eax]
lea eax, [ecx + 0x5b]
xor byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 0x26
jb 0x100610e0
lea eax, [ebp - 0x54]
mov byte [ebp - 0x2d], 0
push eax
push 0x2712
push edi
call fcn.1011d6a0
push 0
push 0x40
push edi
call fcn.1011d6a0
push 0
push 0x51
push edi
call fcn.1011d6a0
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
push 0x271f
push edi
call fcn.1011d6a0
push 0x10060f90
push 0x4e2b
push edi
call fcn.1011d6a0
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.1011d6a0
add esp, 0x48
push edi
call fcn.10119980
add esp, 4
test eax, eax
je 0x10061170
push 0x10
push 0
push eax
call fcn.1011a340
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp ecx, 0xf
jbe 0x10061082
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061078
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10061078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x10061da0
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 0x10061dcc
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 0x10061df4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10061dfa
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 0x10061e62
jg 0x10061e11
test esi, esi
je 0x10061e62
test ecx, ecx
jl 0x10061e5d
jg 0x10061e1b
test eax, eax
je 0x10061e5d
cmp edi, ecx
jg 0x10061e2f
jl 0x10061e25
cmp esi, eax
jae 0x10061e2f
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 0x10061e65
mov ecx, dword [ebp + 8]
jmp 0x10061e6f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x10061e89
jg 0x10061e6f
test esi, esi
je 0x10061e89
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10061e89
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 0x10061ea0
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 0x10061ecc
jl 0x10061ec0
test ecx, ecx
jne 0x10061ecc
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10061ee5
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 0x10061f33
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x10061f39
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 0x10061f39
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x10061fa6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10061f62
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 0x10061f94
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 0x10061fa6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10061f70
test edi, edi
je 0x10061fa6
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