joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100185e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001cc70
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x28
call fcn.10155a6b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101a5240]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10155a6b
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x100186a4
cmp eax, 0x1000
jb 0x1001869a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100186e4
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10155aa0
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.10014f10
mov ecx, dword [ebp - 0x24]
call fcn.10018710
add esp, 8
pop ebp
ret
Function at 0x10018860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001cc80
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x74
call fcn.10155a6b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101a5240]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10155a6b
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10018924
cmp eax, 0x1000
jb 0x1001891a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10018964
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10155aa0
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.10014f10
mov ecx, dword [ebp - 0x24]
call fcn.10018990
add esp, 8
pop ebp
ret
Function at 0x10018b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001cc90
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x38
call fcn.10155a6b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101a5240]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10155a6b
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10018bd4
cmp eax, 0x1000
jb 0x10018bca
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10018c14
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10155aa0
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.10014f10
mov ecx, dword [ebp - 0x24]
call fcn.10018c40
add esp, 8
pop ebp
ret
Function at 0x10019780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001cca0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x28
call fcn.10155a6b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101a5240]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10155a6b
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10019844
cmp eax, 0x1000
jb 0x1001983a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10019884
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10155aa0
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.10014f10
mov ecx, dword [ebp - 0x24]
call fcn.100198b0
add esp, 8
pop ebp
ret
Function at 0x10019a10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001ccb0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0
push 4
call fcn.10155a6b
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, eax
add ecx, 4
mov dword [edx + 8], ecx
mov dword [eax], 0
mov dword [edx + 4], ecx
lea eax, [edx + 0xc]
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x24], eax
push 0xc
call fcn.10155a6b
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, eax
add ecx, 0xc
mov dword [edx + 0x14], ecx
mov dword [eax], 4
mov dword [eax + 4], 5
mov dword [eax + 8], 6
mov dword [edx + 0x10], ecx
lea eax, [edx + 0x18]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [ebp - 0x24], eax
push 8
call fcn.10155a6b
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov ecx, eax
add ecx, 8
mov dword [edx + 0x20], ecx
mov dword [eax + 4], 3
mov dword [eax], 2
mov dword [edx + 0x1c], ecx
lea eax, [edx + 0x24]
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov dword [ebp - 0x24], eax
push 0x18
call fcn.10155a6b
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], eax
mov ecx, eax
add ecx, 0x18
mov dword [edx + 0x2c], ecx
movsd xmm0, qword [0x101a5010]
movsd qword [eax + 0x10], xmm0
movups xmm0, xmmword [section..rdata]
movups xmmword [eax], xmm0
mov dword [edx + 0x28], ecx
lea eax, [edx + 0x30]
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [ebp - 0x24], eax
push 0x10
call fcn.10155a6b
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x30], eax
mov ecx, eax
add ecx, 0x10
mov dword [edx + 0x38], ecx
movaps xmm0, xmmword [0x101a5250]
movups xmmword [eax], xmm0
mov dword [edx + 0x34], ecx
lea eax, [edx + 0x3c]
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [ebp - 0x24], eax
push 8
call fcn.10155a6b
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], eax
mov ecx, eax
add ecx, 8
mov dword [edx + 0x44], ecx
mov dword [eax + 4], 0xc
mov dword [eax], 0xb
mov dword [edx + 0x40], ecx
xorps xmm0, xmm0
movups xmmword [edx + 0x48], xmm0
movups xmmword [edx + 0x58], xmm0
movups xmmword [edx + 0x68], xmm0
movups xmmword [edx + 0x78], xmm0
movups xmmword [edx + 0x88], xmm0
movups xmmword [edx + 0x98], xmm0
mov byte [edx + 0xa8], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001a020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001ccc0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x60
call fcn.10155a6b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101a5240]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10155a6b
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x1001a0e4
cmp eax, 0x1000
jb 0x1001a0da
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1001a124
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10155aa0
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.10014f10
mov ecx, dword [ebp - 0x24]
call fcn.1001a150
add esp, 8
pop ebp
ret
Function at 0x10032e70
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [esp + 0x44]
mov eax, dword [0x10258d1c]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp ebx, 0xffffffff
je 0x10032f4a
mov esi, ecx
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10032eb6
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x10032eb6
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
jmp 0x10032f8e
cmp dword [esi + 0x4c], 0
je 0x10032f4e
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x3c]
cmp dword [eax], ecx
jne 0x10032ede
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10032f55
mov byte [esp + 0xb], bl
lea edx, [esi + 0x40]
mov edi, dword [ecx]
mov ebp, esp
lea eax, [esp + 0xc]
push ebp
lea ebp, [esp + 0x30]
push ebp
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1f]
push eax
push edx
call dword [edi + 0x1c]
mov edi, 0xffffffff
cmp eax, 2
jae 0x10032f6d
mov ebp, dword [esp]
lea eax, [esp + 0xc]
sub ebp, eax
je 0x10032f37
push dword [esi + 0x4c]
push ebp
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebp, eax
jne 0x10032f8c
mov byte [esi + 0x3d], 1
lea eax, [esp + 0xb]
cmp dword [esp + 4], eax
mov eax, 0xffffffff
jmp 0x10032f87
xor ebx, ebx
jmp 0x10032f8e
mov ebx, 0xffffffff
jmp 0x10032f8e
movsx eax, bl
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
cmp eax, 0xffffffff
cmove ebx, eax
jmp 0x10032f8e
cmp eax, 3
jne 0x10032f8c
movsx eax, byte [esp + 0xb]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
cmp eax, 0xffffffff
cmove ebx, eax
mov edi, ebx
mov ebx, edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10155ad1
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x10033440
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, ecx
cmp dword [ecx + 0x38], 0
je 0x1003345e
mov ecx, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp 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__]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x100334c8
cmp ebp, 1
mov ecx, edx
sbb ecx, 0
jl 0x100334c8
mov esi, ebp
mov ecx, dword [ebx + 0x30]
mov ebp, dword [ecx]
test ebp, ebp
jle 0x100334cf
mov dword [esp + 4], esi
cmp ebp, esi
mov ecx, esi
cmovb ecx, ebp
test edx, edx
cmove ebp, esi
cmove ebp, ecx
push ebp
push edi
push eax
mov esi, edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, esi
add esp, 0xc
add edi, ebp
mov dword [esp], edi
mov ecx, dword [esp + 4]
mov edi, ecx
sub edi, ebp
sbb esi, 0
mov eax, dword [ebx + 0x30]
sub dword [eax], ebp
mov eax, dword [ebx + 0x20]
add dword [eax], ebp
mov ebp, ecx
jmp 0x100334d8
mov dword [esp], edi
mov edi, ebp
jmp 0x100334d6
mov dword [esp], edi
mov ebp, esi
mov edi, esi
mov esi, edx
cmp edi, 1
mov eax, esi
sbb eax, 0
jl 0x10033503
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10033503
push eax
push edi
push 1
push dword [esp + 0xc]
mov ebx, edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, ebx
add esp, 0x10
sub edi, eax
sbb esi, 0
sub ebp, edi
sbb edx, esi
mov eax, ebp
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x10033900
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x10258d1c]
xor eax, esp
mov dword [esp + 0x24], eax
mov bl, 1
cmp dword [ecx + 0x38], 0
je 0x10033981
mov esi, ecx
cmp byte [ecx + 0x3d], 0
je 0x10033981
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1003397f
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x24]
lea edx, [esi + 0x40]
mov ebx, dword [ecx]
mov ebp, esp
lea edi, [esp + 4]
push ebp
push eax
push edi
push edx
call dword [ebx + 0x20]
cmp eax, 3
je 0x10033996
cmp eax, 1
je 0x1003395b
test eax, eax
jne 0x1003397f
mov byte [esi + 0x3d], 0
mov ebx, dword [esp]
sub ebx, edi
je 0x10033976
push dword [esi + 0x4c]
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x1003397f
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x10033981
xor ebx, ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10155ad1
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 0x3d], 0
mov bl, 1
jmp 0x10033981
Function at 0x10048a40
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10048b6a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10048b6a
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x10048a6c
mov dword [ebp], 0
push ecx
push eax
call fcn.100486c0
add esp, 8
xor esi, esi
test eax, eax
je 0x10048a9a
mov edi, eax
push 2
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x10048aa4
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
cmp eax, 0xffffffff
je 0x10048a90
mov ebx, eax
push 0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10048a90
mov eax, dword [esp + 0x24]
add eax, ebx
mov ecx, dword [0x10258f60]
test ecx, ecx
je 0x10048add
inc dword [ecx + 0x36c]
push dword [0x10258f68]
push eax
call dword [0x101fc77c]
add esp, 8
test eax, eax
je 0x10048a90
push edi
push ebx
push 1
mov dword [esp + 0xc], eax
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
jne 0x10048b39
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x10048b20
mov eax, dword [esp]
add eax, ebx
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebp, ebp
je 0x10048b31
mov dword [ebp], ebx
mov esi, dword [esp]
jmp 0x10048a9a
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x10258f60]
test eax, eax
je 0x10048b52
dec dword [eax + 0x36c]
push dword [0x10258f68]
push dword [esp + 4]
call dword [0x101fc780]
add esp, 8
jmp 0x10048a9a
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x10049200
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x1c]
mov esi, dword [ecx]
mov dword [esp], ecx
mov edi, dword [ecx + 8]
mov ebp, edi
test esi, esi
je 0x1004923e
mov ebp, edi
mov eax, esi
nop dword [eax]
mov ecx, eax
shr ecx, 1
mov edx, ecx
not edx
add edx, eax
cmp dword [ebp + ecx*8], ebx
lea eax, [ebp + ecx*8 + 8]
cmovae edx, ecx
cmovb ebp, eax
mov eax, edx
test edx, edx
jne 0x10049220
mov eax, dword [esp + 0x20]
lea ecx, [edi + esi*8]
cmp ebp, ecx
je 0x10049256
cmp dword [ebp], ebx
jne 0x10049256
mov dword [ebp + 4], eax
jmp 0x1004935d
cmp edi, ebp
ja 0x10049367
cmp ecx, ebp
jb 0x10049367
sub ebp, edi
sar ebp, 3
mov edx, dword [esp]
cmp esi, dword [edx + 4]
jne 0x1004932e
lea ecx, [esi + 1]
mov dword [esp + 4], ecx
test esi, esi
je 0x1004928f
mov ecx, esi
shr ecx, 0x1f
add ecx, esi
sar ecx, 1
add ecx, esi
jmp 0x10049294
mov ecx, 8
mov eax, dword [esp + 4]
cmp ecx, eax
cmovg eax, ecx
mov ecx, eax
cmp esi, eax
mov eax, dword [esp + 0x20]
jge 0x1004932e
mov dword [esp + 4], ecx
lea eax, [ecx*8]
mov ecx, dword [0x10258f60]
test ecx, ecx
je 0x100492c6
inc dword [ecx + 0x36c]
push dword [0x10258f68]
push eax
call dword [0x101fc77c]
add esp, 8
mov edi, eax
mov edx, dword [esp]
mov eax, dword [edx + 8]
test eax, eax
je 0x1004931e
mov ecx, dword [edx]
shl ecx, 3
push ecx
push eax
push edi
mov esi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x1004930b
mov ecx, dword [0x10258f60]
test ecx, ecx
je 0x1004930b
dec dword [ecx + 0x36c]
push dword [0x10258f68]
push eax
call dword [0x101fc780]
add esp, 8
mov edx, dword [esp]
mov dword [edx + 8], edi
mov eax, dword [esp + 4]
mov dword [edx + 4], eax
mov esi, dword [edx]
mov eax, dword [esp + 0x20]
sub esi, ebp
jle 0x10049354
lea eax, [edi + ebp*8]
lea ecx, [edi + ebp*8]
add ecx, 8
shl esi, 3
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
add esp, 0xc
mov edi, dword [edx + 8]
mov dword [edi + ebp*8], ebx
mov dword [edi + ebp*8 + 4], eax
inc dword [edx]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x10049480
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10258f60]
mov ecx, dword [eax + 0x19e4]
mov byte [ecx + 0x7c], 1
mov eax, dword [eax + 0x19e4]
mov ecx, dword [eax + 0x180]
test ecx, ecx
jle 0x100494cb
mov edx, ecx
dec edx
mov dword [eax + 0x180], edx
je 0x100494b8
mov edx, dword [eax + 0x188]
lea ecx, [edx + ecx*4]
add ecx, 0xfffffff8
jmp 0x100494be
lea ecx, [eax + 0x220]
movss xmm0, dword [ecx]
movss dword [eax + 0x16c], xmm0
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x10049520
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, ecx
mov eax, dword [0x10258d1c]
xor eax, esp
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
call fcn.10041e90
mov ecx, dword [eax]
or ecx, 1
push edi
push 0
push dword [esp + 0x30]
push 0
push 0
push dword [eax + 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
add esp, 0x1c
test eax, eax
mov ebp, 0xffffffff
cmovns ebp, eax
test ebp, ebp
jle 0x1004968a
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
test ecx, ecx
mov esi, 1
cmovne esi, ecx
mov ecx, esi
add esi, ebp
cmp esi, edx
jl 0x10049593
lea edi, [edx + edx]
cmp esi, edi
cmovg edi, esi
cmp edx, edi
jl 0x100495ba
cmp edx, esi
jge 0x1004962f
test edx, edx
je 0x100495ac
mov edi, edx
shr edi, 0x1f
add edi, edx
sar edi, 1
add edi, edx
jmp 0x100495b1
mov edi, 8
cmp edi, esi
cmovle edi, esi
cmp edx, edi
jge 0x1004962f
mov dword [esp + 8], ecx
mov dword [esp], eax
mov eax, dword [0x10258f60]
test eax, eax
je 0x100495d0
inc dword [eax + 0x36c]
push dword [0x10258f68]
push edi
call dword [0x101fc77c]
add esp, 8
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x10049622
push dword [ebx]
push ecx
mov dword [esp + 0xc], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 8]
test eax, eax
je 0x1004960e
mov ecx, dword [0x10258f60]
test ecx, ecx
je 0x1004960e
dec dword [ecx + 0x36c]
push dword [0x10258f68]
push eax
call dword [0x101fc780]
add esp, 8
mov eax, dword [esp + 4]
mov dword [ebx + 8], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ebx + 4], edi
mov dword [ebx], esi
test eax, eax
js 0x1004969f
lea eax, [ebp + 1]
mov dword [esp], eax
mov edi, ebp
mov ebp, dword [esp + 0xc]
mov ebx, dword [ebx + 8]
lea esi, [ecx + ebx]
dec esi
call fcn.10041e90
mov ecx, dword [eax]
or ecx, 1
push ebp
mov ebp, edi
mov edi, dword [esp + 4]
push 0
push dword [esp + 0x30]
push edi
push esi
push dword [eax + 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
add esp, 0x1c
test ebx, ebx
je 0x1004968a
test eax, eax
mov ecx, 0xffffffff
cmovns ecx, eax
cmp ecx, edi
cmovge ecx, ebp
test eax, eax
cmovs ecx, ebp
mov byte [esi + ecx], 0
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10155ad1
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3