joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022b0
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4073bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
xor eax, eax
cmp dword [edi + 0x14], 0xf
mov esi, edi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], edi
jbe 0x402331
mov esi, dword [edi]
mov dword [ebp - 0x13c], esi
cmp eax, dword [edi + 0x10]
jae 0x40238a
push 0x100
lea eax, [ebp - 0x130]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x40887c
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x130], 1
cmp ecx, 0x40887e
jne 0x402351
mov ecx, dword [edi + 0x10]
add ecx, esi
add esi, dword [ebp - 0x138]
cmp esi, ecx
jae 0x40238a
movzx eax, byte [esi]
cmp byte [ebp + eax - 0x130], 0
jne 0x402453
inc esi
cmp esi, ecx
jb 0x402374
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x402467
cmp dword [edi + 0x10], esi
mov ecx, esi
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
cmovb ecx, dword [edi + 0x10]
mov eax, edi
cmp dword [edi + 0x14], 0xf
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
jbe 0x4023c7
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x154]
call fcn.004058c0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x402408
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402494
push ecx
push edx
call fcn.0040638a
add esp, 8
movups xmm1, xmmword [ebp - 0x154]
cmp dword [ebp - 0x140], 0xf
lea ecx, [ebp - 0x2c]
movq xmm0, qword [ebp - 0x144]
movd eax, xmm1
push 0
movups xmmword [ebp - 0x2c], xmm1
cmova ecx, eax
movq qword [ebp - 0x1c], xmm0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40244b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40245e
lea eax, [esi + 1]
jmp 0x402315
sub esi, dword [ebp - 0x13c]
jmp 0x40238d
mov byte [ebp - 0x131], 0
jmp 0x40246e
mov byte [ebp - 0x131], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4024a4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40249a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40249a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040638a
add esp, 8
mov al, byte [ebp - 0x131]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406237
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4029f0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4074a0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1038
call fcn.00407210
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1044], edi
mov dword [ebp - 0x1038], edi
push 0
push 0
push 0
push 1
push str.HTTP
mov dword [ebp - 0x1038], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x1040], eax
jbe 0x402a6c
mov esi, dword [esi]
push 0
push 0x80000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x103c], eax
test eax, eax
jne 0x402abc
push dword [ebp - 0x1040]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x408351
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004058c0
jmp 0x402bf3
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0xf
xor esi, esi
movups xmmword [ebp - 0x1034], xmm0
mov dword [ebp - 0x1024], esi
mov byte [ebp - 0x1034], 0
lea ecx, [ebp - 0x101c]
mov dword [ebp - 4], esi
push ecx
push 0x1000
lea ecx, [ebp - 0x1018]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402bb2
nop dword [eax]
nop dword [eax + eax]
mov edi, dword [ebp - 0x101c]
test edi, edi
je 0x402bac
mov ecx, dword [ebp - 0x1020]
mov eax, ecx
sub eax, esi
push edi
cmp edi, eax
ja 0x402b5e
lea eax, [esi + edi]
cmp ecx, 0xf
mov dword [ebp - 0x1024], eax
lea eax, [ebp - 0x1034]
cmova eax, dword [ebp - 0x1034]
add esi, eax
lea eax, [ebp - 0x1018]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x402b7e
lea eax, [ebp - 0x1018]
mov byte [ebp - 0x1038], 0
push eax
push dword [ebp - 0x1038]
lea ecx, [ebp - 0x1034]
push edi
call fcn.00405760
lea eax, [ebp - 0x101c]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x103c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402bac
mov esi, dword [ebp - 0x1024]
jmp 0x402b10
mov edi, dword [ebp - 0x1044]
push dword [ebp - 0x103c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1040]
call esi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x1034]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1024]
movq qword [edi + 0x10], xmm0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406237
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4046c0
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 0x4046ec
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 0x404714
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40471a
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 0x4047a4
jg 0x404731
test esi, esi
je 0x4047a4
test ecx, ecx
jl 0x404787
jg 0x40473b
test eax, eax
je 0x404787
cmp edi, ecx
jg 0x40474f
jl 0x404745
cmp esi, eax
jae 0x40474f
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 ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x4047a4
jg 0x40478a
test esi, esi
je 0x4047a4
jmp 0x40478a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4047a4
push eax
push esi
push 1
push edx
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 0x4047c0
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 0x4047ec
jl 0x4047e0
test ecx, ecx
jne 0x4047ec
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x404805
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 0x404853
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x404859
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 0x404859
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x4048c6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x404882
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 0x4048b4
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 0x4048c6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x404890
test edi, edi
je 0x4048c6
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 0x404c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x404c70
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406237
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x404cac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x404cac
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.00406237
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x404d83
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x404cd4
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 0x404ce0
movsx eax, bl
jmp 0x404d18
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 0x404d42
sub eax, 1
je 0x404d42
sub eax, 2
jne 0x404d83
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.00406237
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x404d60
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 0x404d83
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.00406237
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.00406237
mov esp, ebp
pop ebp
ret 4
Function at 0x4051f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4052ac
cmp byte [esi + 0x3d], 0
je 0x4052ac
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40529a
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 0x405261
sub eax, 1
je 0x405265
sub eax, 2
jne 0x40529a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406237
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405283
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 0x40529a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406237
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406237
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00406237
mov esp, ebp
pop ebp
ret

Function at 0x406c9a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406cd9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406cd9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406cd9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406cd9
cmp dword [ecx + 0x74], 0xe
jbe 0x406cd9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d948
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x43fe30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::init_void_
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sub.TD_Root_22.12_15.dll_public:_class_OdString____thiscall_OdString::formatV_unsigned_short_int_const___char__
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x401432
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0
jne 0x401405
cmp dword [ecx + 0x10], 0
je 0x401405
lea ecx, [ebp - 0x10]
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::syncUnicode_void_const
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0
mov esi, dword [ecx + 4]
jne 0x40141f
cmp dword [ecx + 0x10], 0
je 0x40141f
lea ecx, [ebp - 0x10]
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::syncUnicode_void_const
mov ecx, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ecx + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x401453
lea ecx, [ebp - 0x10]
call sub.TD_Root_22.12_15.dll_public:_int___thiscall_OdString::getLengthA_void_const
lea ecx, [ebp - 0x10]
mov esi, eax
call sub.TD_Root_22.12_15.dll_public:_char_const____thiscall_OdString::operator_char_const__void_const
push 0
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x10]
call sub.TD_Root_22.12_15.dll_public:_void___thiscall_OdString::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41db57
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x43fe30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], 0x118
lea ecx, [esi + 0x18]
mov dword [esi + 4], 0xd2
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x101
mov dword [esi + 0x10], 1
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 1
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x422258
mov word [ecx], ax
call fcn.004057e0
xor eax, eax
mov dword [esi + 0x40], 0
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 7
push eax
push 0x422258
mov word [ecx], ax
call fcn.004057e0
xor eax, eax
mov dword [esi + 0x58], 0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 7
push eax
push 0x422258
mov word [ecx], ax
call fcn.004057e0
xor eax, eax
mov dword [esi + 0x70], 0
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 2
mov dword [ecx + 0x14], 7
push eax
push 0x422258
mov word [ecx], ax
call fcn.004057e0
xor eax, eax
mov dword [esi + 0x88], 0
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 3
mov dword [ecx + 0x14], 7
push eax
push 0x422258
mov word [ecx], ax
call fcn.004057e0
xor eax, eax
mov dword [esi + 0xa0], 0
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 4
mov dword [ecx + 0x14], 7
push eax
push 0x422258
mov word [ecx], ax
call fcn.004057e0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov byte [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov word [esi + 0xc0], 0
mov byte [esi + 0xc2], 1
mov dword [esi + 0xc4], 0
mov byte [esi + 0xc8], 0
mov dword [esi + 0xcc], 2
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 1
mov dword [esi + 0xd8], 0x48
mov dword [esi + 0xdc], 0x48
mov dword [esi + 0xe0], 0x48
mov dword [esi + 0xe4], 0x48
mov eax, esi
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4026a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41dbe3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x43fe30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0x11
mov dword [esi + 8], 0
mov eax, dword [sym.imp.TD_Root_22.12_15.dll_struct_OdArrayBuffer_OdArrayBuffer::g_empty_array_buffer]
add eax, 0x10
mov dword [ebp - 4], 0
mov dword [esi + 0xc], eax
add eax, 0xfffffff0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, 1
lock xadd dword [edx], eax
inc eax
mov eax, dword [sym.imp.TD_Root_22.12_15.dll_struct_OdArrayBuffer_OdArrayBuffer::g_empty_array_buffer]
add eax, 0x10
mov dword [esi + 0x10], eax
add eax, 0xfffffff0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, 1
lock xadd dword [edx], eax
inc eax
mov eax, dword [sym.imp.TD_Root_22.12_15.dll_struct_OdArrayBuffer_OdArrayBuffer::g_empty_array_buffer]
add eax, 0x10
mov dword [esi + 0x14], eax
add eax, 0xfffffff0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, 1
lock xadd dword [edx], eax
inc eax
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 3
mov dword [esi + 0x18], 0xffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0x2580048
mov dword [esi + 0x24], 0x1900190
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xb06
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::init_void_
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 4
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::init_void_
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::init_void_
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 6
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::init_void_
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 7
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::init_void_
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 8
call sub.TD_Root_22.12_15.dll_protected:_void___thiscall_OdString::init_void_
mov eax, dword [sym.imp.TD_Root_22.12_15.dll_struct_OdArrayBuffer_OdArrayBuffer::g_empty_array_buffer]
add eax, 0x10
mov dword [esi + 0x58], eax
add eax, 0xfffffff0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, 1
lock xadd dword [edx], eax
inc eax
mov dword [esi + 0x5c], 0x320001
mov eax, esi
mov word [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov byte [esi + 0x74], 0
mov dword [esi + 0x78], 0xffffff
mov dword [esi + 0x7c], 0
mov word [esi + 0x80], 0
mov byte [esi + 0x82], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4151f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov esi, ecx
mov byte [ebp - 1], 0
push 1
lea eax, [ebp - 1]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415239
cmp dword [ebp - 8], 0
jne 0x415231
push dword [sym.imp.TD_Root_22.12_15.dll_class_OdString_const_OdString::kEmpty]
lea eax, [esi + 0x10]
push eax
push 0x2e
jmp 0x415245
mov al, byte [ebp - 1]
pop esi
mov esp, ebp
pop ebp
ret
push dword [sym.imp.TD_Root_22.12_15.dll_class_OdString_const_OdString::kEmpty]
lea eax, [esi + 0x10]
push eax
push 0x37
lea ecx, [ebp - 0xc]
call sub.TD_Root_22.12_15.dll_public:_void___thiscall_OdError_FileException::constructor_enum_OdResult__class_OdString_const___class_OdString_const__
push 0x433b1c
lea eax, [ebp - 0xc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x4152c0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2024]
test eax, eax
je 0x4152e1
push eax
lea eax, [esi + 0x20]
push eax
call fcn.00415b50
mov dword [esi + 0x2024], 0
mov ecx, esi
pop esi
jmp fcn.004151f0

Function at 0x4152f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push 0
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415334
cmp dword [ebp - 4], edi
jae 0x41532c
push dword [sym.imp.TD_Root_22.12_15.dll_class_OdString_const_OdString::kEmpty]
lea eax, [esi + 0x10]
push eax
push 0x2e
jmp 0x415340
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [sym.imp.TD_Root_22.12_15.dll_class_OdString_const_OdString::kEmpty]
lea eax, [esi + 0x10]
push eax
push 0x37
lea ecx, [ebp + 0xc]
call sub.TD_Root_22.12_15.dll_public:_void___thiscall_OdError_FileException::constructor_enum_OdResult__class_OdString_const___class_OdString_const__
push 0x433b1c
lea eax, [ebp + 0xc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3