joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cf920
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4f06
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0x5dc290
mov dword [ebx + 8], 0x7e
mov dword [ebx + 0xc], 0x5f46d8
mov dword [ebx + 0x10], 0x11
push 1
lea ecx, [ebx + 0x14]
mov dword [ebp - 4], 0
push ecx
push 0x5dc28c
push 7
mov dword [ebx], vtable.LexerNim.0
call fcn.0047c3f0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov byte [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xffffffff
mov byte [ebp - 4], 2
lea esi, [ebx + 0x434]
mov word [ebx + 0x430], 0x101
mov byte [ebx + 0x432], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047b500
mov dword [esi], eax
lea ebx, [esi + 0x20]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0x88
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Set_to_1_to_enable_highlighting_generalized_raw_string_identifiers._Generalized_raw_string_identifiers_are_anything_other_than_r__or_R_.
mov byte [ecx], 0
call fcn.0040af10
push 2
push str.lexer.nim.raw.strings.highlight.ident
mov ecx, esi
call fcn.00484f20
sub esp, 0x18
mov ecx, esp
push 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x5adadd
mov byte [ecx], 0
call fcn.0040af10
push 0
push str.fold
mov ecx, esi
call fcn.00484f20
sub esp, 0x18
mov ecx, esp
push 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x5adadd
mov byte [ecx], 0
call fcn.0040af10
push 1
push str.fold.compact
mov ecx, esi
call fcn.00484f20
xor edi, edi
cmp dword [0x5bb058], edi
je 0x4cfae3
mov esi, 0x5bb058
jmp 0x4cfab0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x464], 0
je 0x4cfac8
push 0x5da140
mov ecx, ebx
call fcn.00415b50
push dword [esi]
mov ecx, ebx
call fcn.00415b50
inc edi
cmp dword [edi*4 + 0x5bb058], 0
lea esi, [edi*4 + 0x5bb058]
jne 0x4cfab0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f6910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2128
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f300c]
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 esi, ecx
xor edi, edi
mov byte [edx], 1
mov ebx, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0xc], ecx
push dword [esi + 0x30]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esi]
call fcn.00475ef0
mov dword [esi + 0x30], 5
mov edx, dword [esi + 0x38]
cmp edx, 0x20
je 0x4f6994
cmp edx, 9
jl 0x4f6985
cmp edx, 0xd
jle 0x4f6994
mov ecx, edx
call fcn.00478380
test al, al
jne 0x4f6994
mov ecx, edx
jmp 0x4f69a0
cmp edx, 0x2e
jne 0x4f69f1
mov ecx, edx
cmp dword [esi + 0x40], ecx
je 0x4f69f1
mov byte [ebp - 0x30], cl
cmp edi, ebx
jae 0x4f69cf
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmp ebx, 0x10
jb 0x4f69b8
mov eax, dword [ebp - 0x28]
mov byte [eax + edi], cl
mov ecx, esi
mov byte [eax + edi + 1], 0
call fcn.004761d0
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x4f6973
push dword [ebp - 0x30]
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042a1d0
mov ecx, esi
call fcn.004761d0
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x4f6973
mov eax, dword [esi + 0x34]
cmp eax, 0x65
je 0x4f6a02
cmp eax, 0x45
jne 0x4f6a8d
mov cl, dl
cmp edx, 0x2b
je 0x4f6a0e
cmp edx, 0x2d
jne 0x4f6a8d
cmp edi, ebx
jae 0x4f6a2d
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmp ebx, 0x10
jb 0x4f6a23
mov eax, dword [ebp - 0x28]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x4f6a3e
push ecx
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042a1d0
mov ecx, esi
call fcn.004761d0
mov ecx, dword [esi + 0x38]
mov bl, cl
cmp ecx, 0x20
je 0x4f6a8a
cmp ecx, 9
jl 0x4f6a59
cmp ecx, 0xd
jle 0x4f6a8a
call fcn.00478380
test al, al
jne 0x4f6a8a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x4f6a87
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmp edx, 0x10
jb 0x4f6a7d
mov eax, dword [ebp - 0x28]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x4f6a3e
push ebx
jmp 0x4f6a2e
mov ebx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0xc], ecx
push dword [esi + 0x30]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esi]
call fcn.00475ef0
mov dword [esi + 0x30], 0
cmp ebx, 0x10
jb 0x4f6adf
mov ecx, dword [ebp - 0x28]
inc ebx
mov eax, ecx
cmp ebx, 0x1000
jb 0x4f6ad5
mov ecx, dword [ecx - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f6ad5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push ecx
call fcn.0059e222
add esp, 8
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.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x504d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a59ea
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], str.verilog
mov dword [edi + 8], 0x38
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push 1
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 0
push ecx
push 0x5db2e8
push 7
mov dword [edi], vtable.LexerVerilog.0
call fcn.0047c3f0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x430], 0
mov dword [edi + 0x434], 0
mov dword [edi + 0x438], 0
mov byte [edi + 0x43c], 0
mov dword [edi + 0x440], 0xffffffff
mov dword [edi + 0x840], 0
mov dword [edi + 0x844], 0
mov dword [edi + 0x848], 0
mov byte [edi + 0x84c], 0
mov dword [edi + 0x850], 0xffffffff
mov dword [edi + 0xc50], 0
mov dword [edi + 0xc54], 0
mov dword [edi + 0xc58], 0
mov byte [edi + 0xc5c], 0
mov dword [edi + 0xc60], 0xffffffff
mov dword [edi + 0x1060], 0
mov dword [edi + 0x1064], 0
mov dword [edi + 0x1068], 0
mov byte [edi + 0x106c], 0
mov dword [edi + 0x1070], 0xffffffff
mov dword [edi + 0x1470], 0
mov dword [edi + 0x1474], 0
mov dword [edi + 0x1478], 0
mov byte [edi + 0x147c], 0
mov dword [edi + 0x1480], 0xffffffff
mov dword [edi + 0x1880], 0
mov dword [edi + 0x1884], 0
mov dword [edi + 0x1888], 0
mov dword [edi + 0x188c], 0
mov dword [edi + 0x1890], 0
mov dword [edi + 0x1894], 0
lea esi, [edi + 0x1898]
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049d7b0
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x18ac]
mov dword [edi + 0x18a0], 0
mov dword [edi + 0x18a4], 0
mov word [edi + 0x18a8], 0
call fcn.00504b00
push 0x40
sub esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x18e4]
push 0x5af13f
call fcn.00485d50
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x1908]
mov dword [esi], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.00471fc0
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x513f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ecx, dword [edi + 8]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0xc], ecx
je 0x513f56
mov dword [ecx], eax
add dword [edi + 8], 4
jmp 0x513f63
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.00402320
push dword [edi + 0x10]
lea eax, [ebp - 0x18]
push 0x5dd794
push eax
call fcn.004025c0
lea ecx, [ebp - 0x18]
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x513f80
push dword [edi]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea eax, [ebp - 0x18]
sub ecx, edx
push ecx
push 1
push eax
call esi
push dword [edi]
push 7
push 1
push str._0_obj_n
call esi
mov ecx, ebx
add esp, 0x20
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x513fb0
push dword [edi]
sub ecx, edx
push ecx
push 1
push ebx
call esi
push dword [edi]
push 7
push 1
push str.endobj_n
call esi
mov eax, dword [edi + 0x10]
add esp, 0x20
lea ecx, [eax + 1]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059df64
mov esp, ebp
pop ebp
ret 4
Function at 0x514900
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a63d3
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov byte [esi], 0
call fcn.00514710
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.00514ce0
mov edx, str.___Length
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00515470
mov ecx, dword [esi + 0x30]
add ecx, 2
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, str.___nstream_n
mov ecx, eax
call fcn.00515470
cmp dword [esi + 0x34], 0x10
lea edx, [esi + 0x20]
jb 0x51498a
mov edx, dword [edx]
mov ecx, eax
call fcn.00515470
mov edx, str.ET_nendstream_n
mov ecx, eax
call fcn.00515470
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00514c20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
jb 0x5149bc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x17c]
push eax
call fcn.00513f20
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x5149fe
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5149f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5149f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xc4]
call fcn.00515270
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x516b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a65db
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], ebx
cmp dword [ebx + 0x14], 0
jbe 0x516b63
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x516b50
mov eax, dword [eax]
push 0x5c06d4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov edi, eax
jmp 0x516b65
xor edi, edi
test edi, edi
sete al
mov byte [ebp - 0x31], al
test edi, edi
je 0x516c85
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00514ce0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.005159a0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00514c20
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
jb 0x516bbb
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
push edi
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
je 0x516bd4
mov byte [ebp - 0x31], 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test eax, eax
je 0x516be6
mov byte [ebp - 0x31], 1
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x516c1c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x516c12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x516c12
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xd8]
call fcn.00515270
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov esi, dword [ebp - 0x38]
mov al, byte [ebp - 0x31]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x516c91
push ebx
mov ecx, esi
call fcn.00530df0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 0xc
Function at 0x519150
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a68f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f300c]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 0
mov dword [ebp - 0x2c], 1
jbe 0x5192da
cmp dword [ecx + 0x18], 8
lea eax, [ecx + 4]
jb 0x5191bc
mov eax, dword [eax]
push 0x5c0b9c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov esi, eax
add esp, 8
mov dword [ebp - 0x34], esi
test esi, esi
je 0x5192da
push 0
push 0x10000
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00414900
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
jb 0x51920c
mov eax, dword [ebp - 0x28]
push esi
push dword [ebp - 0x18]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x51929a
mov edi, dword [ebp - 0x18]
cmp edi, eax
jb 0x519229
mov edi, eax
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
jb 0x519235
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebx + 0x14]
mov eax, esi
mov edx, dword [ebx + 0x10]
sub eax, edx
cmp edi, eax
ja 0x519266
lea eax, [edx + edi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0x519252
mov eax, dword [ebx]
push edi
lea esi, [eax + edx]
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x519277
push edi
push ecx
mov byte [ebp - 0x30], 0
mov ecx, ebx
push dword [ebp - 0x30]
push edi
call fcn.00415dd0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x519283
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x34]
push esi
push dword [ebp - 0x18]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x519220
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x5192da
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5192d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5192d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
mov eax, ebx
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.0059df64
mov esp, ebp
pop ebp
ret 4
Function at 0x51c1a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6a38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov word [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [esi], vtable.FileWorker.0
push eax
mov dword [esi + 0x14], vtable.FilePath.0
call fcn.005111c0
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x40]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], eax
call fcn.0041fd80
fld qword [0x5de418]
mov eax, esi
fstp qword [esi + 0x50]
mov dword [esi + 0x48], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x52d330
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0e30
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push fcn.0040a8e0
push 0xa
push 0x18
lea eax, [esi + 0x13c]
mov dword [ebp - 4], 0
push eax
call fcn.0059e6e9
push fcn.0040a8e0
push 0xa
push 0x18
lea eax, [esi + 0x4c]
mov dword [ebp - 4], 1
push eax
call fcn.0059e6e9
mov ecx, dword [esi + 0x30]
cmp ecx, 0x10
jb 0x52d3ba
mov eax, dword [esi + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x52d3b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52d41e
mov eax, edx
push ecx
push eax
call fcn.0059e222
add esp, 8
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x52d3fc
mov eax, dword [esi + 4]
inc ecx
cmp ecx, 0x1000
jb 0x52d3f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52d41e
mov eax, edx
push ecx
push eax
call fcn.0059e222
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x542790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea eax, [edi + 4]
lea ecx, [esi + 4]
cmp ecx, eax
je 0x5427b6
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x5427af
mov eax, dword [eax]
push edx
push eax
call fcn.0040acf0
mov eax, dword [edi + 0x1c]
lea ecx, [esi + 0x54]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
movzx eax, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
movzx eax, byte [edi + 0x2d]
mov byte [esi + 0x2d], al
movzx eax, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
movzx eax, byte [edi + 0x2f]
mov byte [esi + 0x2f], al
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
lea eax, [edi + 0x54]
cmp ecx, eax
je 0x54283c
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x542835
mov eax, dword [eax]
push edx
push eax
call fcn.0040af10
lea eax, [edi + 0x6c]
lea ecx, [esi + 0x6c]
cmp ecx, eax
je 0x542853
push dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
call fcn.004363d0
lea eax, [edi + 0x78]
lea ecx, [esi + 0x78]
cmp ecx, eax
je 0x54286a
push dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
call fcn.004363d0
mov eax, dword [edi + 0x84]
lea ecx, [esi + 0x88]
mov dword [esi + 0x84], eax
lea eax, [edi + 0x88]
push eax
call fcn.00527030
mov eax, dword [edi + 0x9c]
mov dword [esi + 0x9c], eax
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x5428f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8bc9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
mov dword [edi], vtable.FilePath.0
lea eax, [esi + 4]
push eax
call fcn.005111c0
mov dword [edi], vtable.RecentFile.0
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov dword [ebp - 4], 0
lea ecx, [edi + 0x54]
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
movzx eax, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
movzx eax, byte [esi + 0x2d]
mov byte [edi + 0x2d], al
movzx eax, byte [esi + 0x2e]
mov byte [edi + 0x2e], al
movzx eax, byte [esi + 0x2f]
mov byte [edi + 0x2f], al
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
lea eax, [esi + 0x54]
push eax
call fcn.004146c0
lea eax, [esi + 0x6c]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x6c]
push eax
call fcn.00415ab0
lea eax, [esi + 0x78]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x78]
push eax
call fcn.00415ab0
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], vtable.PropSetFile.0
movzx eax, byte [esi + 0x8c]
mov byte [edi + 0x8c], al
lea eax, [esi + 0x90]
push ecx
push eax
lea ecx, [edi + 0x90]
call fcn.00529bb0
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4