joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10129f30
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10197643
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 0xffffffffffffffff
lea edi, [esi + 4]
mov dword [esi], vtable.CRemoteFileMgr.0
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10004b90
mov byte [esp + 0x30], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov ebx, 0x10
cmp dword [edi + 0x18], ebx
jb 0x10129fc9
mov eax, dword [edi + 4]
jmp 0x10129fcc
lea eax, [edi + 4]
push eax
call fcn.100ee190
add esp, 4
test al, al
jne 0x1012a01d
cmp dword [edi + 0x18], ebx
jb 0x10129fe3
mov edi, dword [edi + 4]
jmp 0x10129fe6
add edi, 4
push edi
push str.its_not_remote_file_invalidate_file__s
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], str.FlashToolLib_source_common_generic_src_RemoteFileMgr.cpp
mov dword [esp + 0x20], 0x1b
mov byte [esp + 0x24], 0xff
mov dword [esp + 0x28], str._ERROR:
mov dword [esp + 0x2c], str.CRemoteFileMgr::CRemoteFileMgr
call fcn.10017c90
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8

Function at 0x1012a460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1019990b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, ebp
sub eax, edx
mov dword [edi + 0x14], ecx
sbb ecx, ebx
mov dword [edi], vtable.FileBufferManager.0
mov dword [edi + 8], edx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebp
mov dword [esp + 0x34], ecx
jne 0x1012a4be
cmp eax, 0x200000
jbe 0x1012a4c5
mov eax, 0x200000
jmp 0x1012a4c9
mov eax, ebp
sub eax, edx
lea esi, [edi + 0x20]
mov ecx, esi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.1013bd20
mov eax, dword [esp + 0x3c]
push eax
push ebp
push ebx
push edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], 0
mov ecx, dword [edi + 0x18]
push 0
push ecx
push edx
mov byte [edi + 0xa0], 0
call fcn.1013bf70
test al, al
je 0x1012a518
call fcn.1013c180
test eax, eax
setne al
mov byte [edi + 0xa0], al
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18
Function at 0x1012ae30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101998d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [eax + 0x18], 0x10
jb 0x1012ae6d
mov edx, dword [eax + 4]
jmp 0x1012ae70
lea edx, [eax + 4]
push 1
lea ecx, [esp + 0x18]
push 0x1022acf8
push ecx
mov cl, 1
lea eax, [esp + 0x1c]
call fcn.100d7760
mov dword [esp + 0x3c], ebx
cmp byte [esp + 0x1d], bl
je 0x1012aee4
push 4
call fcn.1016bba0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1012aedb
mov edx, dword [esp + 0x10]
push edx
push 4
push 1
push esi
call fcn.10170626
add esp, 0x10
cmp eax, 4
jne 0x1012aedb
mov eax, dword [esi]
xor ecx, ecx
cmp eax, 0x46424642
je 0x1012aed1
cmp eax, 0x53535353
jne 0x1012aed6
mov ecx, 3
jmp 0x1012aed6
mov ecx, 2
cmp ecx, ebx
setne bl
push esi
call fcn.1016dfc5
add esp, 4
lea esi, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.10095400
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 4
Function at 0x1012c2a0
Capabilities:
Check for time delay via gettickcount
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101975e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push str.FlashToolLib_source_common_generic_src_RTC.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x16
lea esi, [esp + 0x18]
call fcn.10111280
mov dword [esp + 0x48], 0
mov ecx, dword [0x103b321c]
push str.RTC::WaitReload__
push ecx
push eax
call fcn.10111350
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, edi
call eax
push eax
call fcn.10128590
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
push 0
mov eax, esi
call fcn.10128600
mov edx, dword [edi]
mov edx, dword [edx + 0x8c]
push 1
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
mov ecx, edi
call edx
test eax, eax
jne 0x1012c38c
lea esp, [esp]
test byte [esp + 0xc], 0x40
je 0x1012c3b6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, 0x64
jae 0x1012c400
push 0
mov eax, esi
call fcn.10128600
mov edx, dword [edi]
mov edx, dword [edx + 0x8c]
push 1
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
mov ecx, edi
call edx
test eax, eax
je 0x1012c350
push str.FlashToolLib_source_common_generic_src_RTC.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x25
lea esi, [esp + 0x18]
call fcn.10111280
mov dword [esp + 0x48], 1
push str.RTC::WaitReload__:_Cannot_read_RTC_BBPU
jmp 0x1012c428
push str.FlashToolLib_source_common_generic_src_RTC.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x2c
lea esi, [esp + 0x18]
call fcn.10111280
mov dword [esp + 0x48], 2
mov edx, dword [0x103b321c]
push str.RTC::WaitReload__:_Done
push edx
push eax
call fcn.10111350
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.FlashToolLib_source_common_generic_src_RTC.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x32
lea esi, [esp + 0x2c]
call fcn.10111280
mov dword [esp + 0x48], 3
push str.RTC::WaitReload__:_Timeout
mov ecx, dword [0x103b321c]
push ecx
push eax
call fcn.10111350
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1012cd40
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x24
push 0
lea eax, [esp + 4]
push 0x20
push eax
call fcn.10173270
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
shr edx, 0xa
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
shr eax, 0xa
shr ecx, 0xa
shr edx, 0xa
mov dword [esi], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
add esp, 0x24
ret
Function at 0x1012dcf0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x1039d630]
push ebp
mov ebp, dword [0x1039d63c]
push esi
push edi
mov edi, dword [0x103b3438]
mov esi, dword [edi + 4]
lea ecx, [esi + eax + 1]
mov eax, dword [0x103b343c]
cmp eax, ecx
jbe 0x1012dd1e
mov eax, str.fatal_flex_scanner_internal_error__end_of_buffer_missed
call fcn.1012e220
cmp dword [edi + 0x20], 0
jne 0x1012dd32
sub eax, ebp
dec eax
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
inc eax
pop ebp
ret
push ebx
mov ebx, eax
sub ebx, ebp
dec ebx
test ebx, ebx
jle 0x1012dd4c
mov ecx, ebx
mov edi, edi
mov dl, byte [ebp]
mov byte [esi], dl
inc esi
inc ebp
sub ecx, 1
jne 0x1012dd40
cmp dword [edi + 0x24], 2
jne 0x1012dd61
xor eax, eax
mov dword [0x1039d630], eax
mov dword [edi + 0x10], eax
jmp 0x1012deab
mov ecx, dword [edi + 0xc]
mov esi, ecx
sub esi, ebx
dec esi
test esi, esi
jg 0x1012ddbd
lea ecx, [ecx]
mov edx, dword [edi + 4]
sub eax, edx
cmp dword [edi + 0x14], 0
mov esi, eax
je 0x1012de3c
lea eax, [ecx + ecx]
test eax, eax
jg 0x1012dd8f
mov eax, ecx
shr eax, 3
add eax, ecx
mov dword [edi + 0xc], eax
add eax, 2
push eax
push edx
call fcn.10170643
add esp, 8
mov dword [edi + 4], eax
test eax, eax
je 0x1012de43
mov ecx, dword [edi + 0xc]
add eax, esi
mov esi, ecx
sub esi, ebx
dec esi
mov dword [0x103b343c], eax
test esi, esi
jle 0x1012dd70
cmp esi, 0x2000
jle 0x1012ddca
mov esi, 0x2000
cmp dword [edi + 0x18], 0
je 0x1012de5c
xor ebp, ebp
test esi, esi
jle 0x1012de53
lea ebx, [ebx]
mov ecx, dword [0x103b3444]
push ecx
call fcn.1016ebc1
mov edi, dword [0x103b3438]
add esp, 4
cmp eax, 0xffffffff
je 0x1012de0c
cmp eax, 0xa
je 0x1012de11
mov edx, dword [edi + 4]
add edx, ebp
inc ebp
cmp ebp, esi
mov byte [edx + ebx], al
jl 0x1012dde0
cmp eax, 0xa
jne 0x1012de1a
mov ecx, dword [edi + 4]
add ecx, ebp
mov byte [ecx + ebx], al
inc ebp
cmp eax, 0xffffffff
jne 0x1012de53
mov edx, dword [0x103b3444]
push edx
call fcn.10172199
add esp, 4
test eax, eax
je 0x1012de4d
mov eax, str.input_in_flex_scanner_failed
call fcn.1012e220
mov dword [edi + 4], 0
mov eax, str.fatal_error___scanner_input_buffer_overflow
call fcn.1012e220
mov edi, dword [0x103b3438]
mov eax, ebp
mov dword [0x1039d630], eax
jmp 0x1012dea4
mov eax, dword [0x103b3444]
mov ecx, dword [edi + 4]
push eax
push esi
add ecx, ebx
push 1
push ecx
call fcn.10170626
add esp, 0x10
mov dword [0x1039d630], eax
test eax, eax
jne 0x1012de9e
mov edx, dword [0x103b3444]
push edx
call fcn.10172199
add esp, 4
test eax, eax
je 0x1012de99
mov eax, str.input_in_flex_scanner_failed
call fcn.1012e220
mov eax, dword [0x1039d630]
mov edi, dword [0x103b3438]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x1012ded4
test ebx, ebx
jne 0x1012deca
mov edi, dword [0x103b3444]
lea esi, [ebx + 1]
call fcn.1012e060
mov edi, dword [0x103b3438]
mov eax, dword [0x1039d630]
jmp 0x1012ded6
mov esi, 2
mov dword [edi + 0x24], esi
jmp 0x1012ded6
xor esi, esi
mov ecx, dword [edi + 4]
add eax, ebx
mov byte [eax + ecx], 0
mov edx, dword [edi + 4]
mov dword [0x1039d630], eax
mov byte [eax + edx + 1], 0
mov eax, dword [edi + 4]
pop ebx
pop edi
mov dword [0x1039d63c], eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x10138280
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push esi
mov esi, eax
xor eax, eax
push edi
cmp esi, eax
jne 0x10138298
mov esi, 0x103b38a8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x6a09e667
mov dword [esp + 0x10], 0xbb67ae85
mov dword [esp + 0x14], 0x3c6ef372
mov dword [esp + 0x18], 0xa54ff53a
mov dword [esp + 0x1c], 0x510e527f
mov dword [esp + 0x20], 0x9b05688c
mov dword [esp + 0x24], 0x1f83d9ab
mov dword [esp + 0x28], 0x5be0cd19
mov dword [esp + 0x78], 0x20
call fcn.10138320
add esp, 4
lea edi, [esp + 8]
mov eax, esi
call fcn.10138400
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1013a8c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019743d
mov eax, dword fs:[0]
push eax
sub esp, 0x608
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x600], eax
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x618]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ebx, ebx
lea esi, [eax - 1]
mov dword [esp + 0x24], ebx
test esi, esi
jl 0x1013aa00
cmp esi, eax
jb 0x1013a93a
call fcn.1016d669
imul esi, esi, 0x5d8
add esi, dword [edi + 0xc]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.10049f90
mov dword [esp + 0x620], 0
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], eax
jae 0x1013a974
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x450]
push edx
mov edx, dword [esp + 0x450]
push edx
mov edx, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
push edx
push ebx
push eax
push str.m_begin_addr0X_016I64X_m_end_addr__0X_016I64X_m_name___s_m_len__0X_X
lea edi, [esp + 0x30]
mov dword [esp + 0x30], str.FlashToolLib_sv5_common_generic_src_StorageSizeCheck.cpp
mov dword [esp + 0x34], 0x68
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], str._DEBUG:
mov dword [esp + 0x40], str.CNORStorageSizeCheck::IsStorageSizeEnough
call fcn.10017c90
add esp, 0x20
cmp byte [esp + 0x5ec], 0
je 0x1013a9eb
mov eax, dword [esp + 0x44c]
add dword [esp + 0x24], eax
mov ecx, dword [esp + 0x450]
adc ebx, ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x624], 0xffffffff
call fcn.1004a030
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ebx
push eax
push ecx
push edx
push str.StorageSize0X_016I64X_u64LastImgEndAddr__0X_016I64X
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_StorageSizeCheck.cpp
mov dword [esp + 0x28], 0x6e
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.CNORStorageSizeCheck::IsStorageSizeEnough
call fcn.10017c90
mov eax, dword [esi + 0xc]
add esp, 0x14
cmp eax, ebx
ja 0x1013aa61
jb 0x1013aa5a
mov ecx, dword [esi + 8]
cmp ecx, dword [esp + 0x24]
jae 0x1013aa61
mov eax, 0x3f3
jmp 0x1013aa99
push 0x10201619
lea edi, [esp + 0x14]
mov dword [esp + 0x14], str.FlashToolLib_sv5_common_generic_src_StorageSizeCheck.cpp
mov dword [esp + 0x18], 0x72
mov byte [esp + 0x1c], 0
mov dword [esp + 0x20], str._DEBUG:
mov dword [esp + 0x24], str.CNORStorageSizeCheck::IsStorageSizeEnough
call fcn.10017c90
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x618]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x600]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret 4
Function at 0x1013dd10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101972e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
xor eax, eax
mov byte [edi + 4], al
mov dword [esp + 0x28], eax
mov dword [edi], vtable.IO_BUFFER.0
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
cmp ecx, eax
je 0x1013ddaf
cmp eax, eax
jb 0x1013ddaf
ja 0x1013dd68
cmp edx, eax
jbe 0x1013ddaf
push str.FlashToolLib_source_common_generic_src_virtual_io.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x115
lea esi, [esp + 0x10]
call fcn.10111280
mov byte [esp + 0x28], 1
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
mov ecx, dword [edi + 0xc]
push edx
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [0x103b3470]
push edx
push str.IO_BUFFER::IO_BUFFER__:_m_buf_0x_08X___m_const_buf_0x_08X___m_buf_len__lu_.
push ecx
push eax
call fcn.10111350
mov byte [edi + 4], 1
jmp 0x1013ddf1
push str.FlashToolLib_source_common_generic_src_virtual_io.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x11a
lea esi, [esp + 0x10]
call fcn.10111280
mov byte [esp + 0x28], 2
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
push edx
mov edx, dword [edi + 0xc]
push ecx
mov ecx, dword [edi + 8]
push edx
mov edx, dword [0x103b3470]
push ecx
push str.IO_BUFFER::IO_BUFFER__:_m_buf_0x_08X___m_const_buf_0x_08X___m_buf_len__lu_.
push edx
push eax
call fcn.10111350
mov eax, edi
add esp, 0x1c
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x10144c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101a0f1e
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
cmp dword [esi + 0x18], 0x10
jb 0x10144c5b
mov eax, dword [esi + 4]
jmp 0x10144c5e
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100426d0
xor ecx, ecx
mov dword [esp + 0x130], ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
test byte [esp + edx + 0x34], 6
je 0x10144ce9
push 0x10
mov dword [esp + 0x28], ecx
mov byte [esp + 0x18], cl
push str.cannot_open_file
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
call fcn.10004620
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc8]
push ecx
xor edi, edi
mov byte [esp + 0x13c], 1
call fcn.1013ead0
mov dword [esp + 0xc0], vtable.boost::property_tree::xml_parser::xml_parser_error.0
push 0x53
push str.D:home_boost167_boost_property_tree_xml_parser.hpp
push str.void___cdecl_boost::property_tree::xml_parser::read_xml_class_boost::property_tree::basic_ptree_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____struct_std::less_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_________const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____class_boost::property_tree::basic_ptree_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____struct_std::less_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_________int_const_class_std::locale__
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x140], 2
call fcn.10145440
lea ecx, [esp + 0xc]
push ecx
mov ecx, edx
lea ecx, [esp + ecx + 0x30]
call fcn.10145050
lea ecx, [esp + 0xc]
call fcn.1002a780
mov edx, dword [ebp + 8]
push edx
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.101454b0
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x130], 0xffffffff
call fcn.100427f0
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x88], vtable.std::ios_base.0
call fcn.1016bc5e
add esp, 4
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10147110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1019f3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, ecx
push ecx
mov dword [esp + 0xa8], 0
mov ecx, dword [esp + 0xb0]
mov eax, esp
mov dword [eax], ecx
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x14], esp
push 0
lea ecx, [esp + 0x18]
call fcn.1016c059
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x10147177
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x14]
call fcn.1016c081
push edi
lea ebx, [esp + 0x1c]
call fcn.101486c0
movzx edx, byte [esp + 0x14]
neg edx
sbb edx, edx
test edx, method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
je 0x1014720f
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xa4], 0xffffffff
mov edi, dword [esp + 0xac]
test edi, edi
je 0x101471f2
push 0
lea ecx, [esp + 0x14]
call fcn.1016c059
mov eax, dword [edi + 4]
test eax, eax
jbe 0x101471d0
cmp eax, 0xffffffff
jae 0x101471d0
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x10]
and esi, edi
call fcn.1016c081
test esi, esi
je 0x101471f2
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x98
ret 4
xor eax, eax
push 0x1c
push str.conversion_of_data_to_type__
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
call fcn.10004620
push 0x1029cb64
mov ecx, 0x1029305c
mov byte [esp + 0xa8], 1
call fcn.1016d701
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.10043f50
push str.__failed
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xbc], 2
call fcn.10043f50
add esp, 0x18
push edi
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xb0], 3
call fcn.10148010
push str.unsigned_int___thiscall_boost::property_tree::basic_ptree_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____struct_std::less_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_______::get_value_unsigned_int_class_boost::property_tree::stream_translator_char_struct_std::char_traits_char__class_std::allocator_char__unsigned_int___class_boost::property_tree::stream_translator_char_struct_std::char_traits_char__class_std::allocator_char__unsigned_int___const
push eax
mov byte [esp + 0xac], 4
call fcn.10148080
int3
Function at 0x1014c5a0
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
push ebp
push esi
push edi
push 0x10201619
push 0
call fcn.10171d24
push 0
push 0
mov dword [esp + 0x2c], str.FlashToolLib_host_windows_XUtils.cpp
mov dword [esp + 0x30], 0x19
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], str._DEBUG:
mov dword [esp + 0x3c], str.XSharedOpenExistFile
call fcn.10171d24
push eax
push str.the_entire_default_locale_is:__s
lea edi, [esp + 0x34]
call fcn.10017c90
mov edi, 0x10
add esp, 0x18
lea esi, [ebx + 4]
cmp dword [ebx + 0x18], edi
jb 0x1014c603
mov eax, dword [esi]
jmp 0x1014c605
mov eax, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x10240504
push 0
mov ebp, eax
call fcn.10171d24
add esp, 8
cmp ebp, 0xffffffff
jne 0x1014c679
cmp dword [ebx + 0x18], edi
jb 0x1014c63b
mov esi, dword [esi]
mov dword [esp + 0x1c], str.FlashToolLib_host_windows_XUtils.cpp
mov dword [esp + 0x20], 0x24
mov byte [esp + 0x24], 0xff
mov dword [esp + 0x28], str._ERROR:
mov dword [esp + 0x2c], str.XSharedOpenExistFile
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.invalidate_file__s_GetLastError__d_
lea edi, [esp + 0x28]
call fcn.10017c90
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
mov eax, ebp
pop ebp
add esp, 0x24
ret