joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8ef058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008ef1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8ef07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ef06a
add dl, dl
jne 0x8ef089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ef0dc
xor eax, eax
add dl, dl
jne 0x8ef096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ef17d
add dl, dl
jne 0x8ef0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ef0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ef0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ef0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8ef0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8ef075
mov eax, 1
add dl, dl
jne 0x8ef0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ef0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ef0e1
sub eax, ebx
mov ebx, 1
jne 0x8ef128
mov ecx, 1
add dl, dl
jne 0x8ef10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8ef119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ef105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ef075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8ef13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8ef14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ef136
cmp eax, 0x7d00
jae 0x8ef16d
cmp eax, 0x500
jb 0x8ef168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ef075
cmp eax, 0x7f
ja 0x8ef170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ef075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8ef19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8ef075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100063a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1019692c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
lea eax, [ebp + 0x620]
xor ebx, ebx
mov byte [ebp + 0x3c0], bl
mov byte [ebp + 0x3c1], bl
mov byte [ebp + 0x3c2], bl
xor ecx, ecx
mov word [eax + 4], cx
xor edx, edx
mov word [eax + 8], cx
mov word [eax + 0xc], cx
mov word [eax + 6], dx
mov word [eax + 0xa], dx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov word [eax + 0x1e], cx
mov ecx, 0x1027a728
mov word [eax + 0x1c], dx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
call fcn.10001a80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x10201619
mov byte [ecx + 4], bl
call fcn.10004620
lea esi, [ebp + 0x64c]
call fcn.101156f0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ebx
mov dword [ebp + 0x694], edx
mov edx, dword [esp + 0x4c]
mov eax, 1
mov byte [ebp + 0x678], bl
mov dword [ebp + 0x67c], eax
mov dword [ebp + 0x680], ebx
mov dword [ebp + 0x688], ebx
mov dword [ebp + 0x68c], ebx
mov dword [ebp + 0x698], ecx
mov dword [ebp + 0x69c], edx
mov dword [ebp + 0x6a0], ebx
mov dword [ebp + 0x720], ebx
mov dword [ebp + 0x724], ebx
mov dword [ebp + 0x728], ebx
push 0x258
lea esi, [ebp + 0x3c8]
push ebx
mov byte [esp + 0x40], al
push esi
mov dword [ebp + 0x72c], ebx
call fcn.10173270
add esp, 0xc
push str.m_da_report_initialize_to_0.
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.D:homemtk14060AutoScriptBackupProjectWCP2_CleanRoomDADownload_Agent_MainFlashToolLibFlashToolLib_sv5commongenericinc_flashtool_api_internal.h
mov dword [esp + 0x24], 0x58
mov byte [esp + 0x28], bl
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.FLASHTOOL_API_HANDLE::FLASHTOOL_API_HANDLE
call fcn.10017c90
add esp, 4
push 0x7c
lea eax, [ebp + 0x6a4]
push ebx
push eax
call fcn.10173270
add esp, 0xc
mov dword [esp + 0x1c], str.D:homemtk14060AutoScriptBackupProjectWCP2_CleanRoomDADownload_Agent_MainFlashToolLibFlashToolLib_sv5commongenericinc_flashtool_api_internal.h
mov dword [esp + 0x20], 0x5a
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.FLASHTOOL_API_HANDLE::FLASHTOOL_API_HANDLE
push str.m_boot_result_initialize_to_0.
lea edi, [esp + 0x20]
call fcn.10017c90
add esp, 4
mov byte [esi], 3
mov byte [ebp + 0x3c9], 2
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
Function at 0x10013cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101972a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [edi + 4], ecx
push str.FlashToolLib_sv5_common_interface_src_brom_base.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x8eb
lea esi, [esp + 0xc]
mov byte [edi + 8], 0
mov byte [edi + 9], 0
call fcn.10111280
mov dword [esp + 0x24], 0
mov edx, dword [0x103b321c]
push str.BRom_PowerKeyLockSentry__:_execute_m_base.SetReg_LockPowerKey__.
push edx
push eax
call fcn.10111350
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [edx]
mov eax, dword [eax + 0x34]
add esp, 0xc
push edx
mov dword [esp + 0xc], vtable.MetaTrace.0
call eax
test eax, eax
mov eax, edi
jne 0x10013d65
mov byte [edi + 9], 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 4

Function at 0x10013fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10196628
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 al, byte [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov byte [esi + 8], al
mov dword [esi + 0xc], edx
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esi], vtable.BRom_I2C_CMDV1.0
cmp al, cl
je 0x1001404b
push 0x10201619
lea edi, [esp + 0x10]
mov dword [esp + 0x10], str.FlashToolLib_sv5_common_interface_src_brom_base.cpp
mov dword [esp + 0x14], 0x92a
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], str._DEBUG:
mov dword [esp + 0x20], 0x10213ad0
call fcn.10017c90
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8

Function at 0x10014c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10196628
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 al, byte [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov byte [esi + 8], al
mov dword [esi + 0xc], edx
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esi], vtable.BRom_I2C_CMDV2.0
cmp al, cl
je 0x10014cbb
push 0x10201619
lea edi, [esp + 0x10]
mov dword [esp + 0x10], str.FlashToolLib_sv5_common_interface_src_brom_base.cpp
mov dword [esp + 0x14], 0xa08
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], str._DEBUG:
mov dword [esp + 0x20], 0x10213c68
call fcn.10017c90
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x100159d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10196628
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 al, byte [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov byte [esi + 8], al
mov dword [esi + 0xc], edx
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esi], vtable.BRom_I2C_RW.0
cmp al, cl
je 0x10015a4b
push 0x10201619
lea edi, [esp + 0x10]
mov dword [esp + 0x10], str.FlashToolLib_sv5_common_interface_src_brom_base.cpp
mov dword [esp + 0x14], 0xb5b
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], str._DEBUG:
mov dword [esp + 0x20], 0x10213d44
call fcn.10017c90
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8

Function at 0x1001628a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 8], eax
test ebp, ebp
jne 0x100162a0
pop esi
mov eax, 0xa006
pop ebp
pop ecx
ret 0x10
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
and ebx, 0xfffffffe
push edi
mov eax, esi
call fcn.10015d20
push ebp
mov ebx, edi
mov eax, esi
call fcn.10015d90
push edi
mov eax, esi
call fcn.10015e40
push edi
mov eax, esi
call fcn.10015ec0
push edi
mov eax, esi
call fcn.10015f40
mov eax, esi
call fcn.10015b50
mov edi, edi
mov ecx, dword [esp + 0x10]
mov bl, byte [ecx]
push edi
mov eax, esi
dec ebp
call fcn.10016160
test eax, eax
jne 0x100163a2
inc dword [esp + 0x10]
test ebp, ebp
jne 0x100162e0
push edi
mov eax, esi
call fcn.10015fc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
push 1
add eax, 0xc
lea ebp, [esp + 0x28]
push ebp
push eax
mov eax, dword [edx + 0x8c]
push edi
call eax
test eax, eax
jne 0x100163a2
mov al, byte [esp + 0x24]
test al, 1
jne 0x10016378
test al, 4
jne 0x1001637c
test al, 2
jne 0x10016383
call ebx
sub eax, dword [esp + 0x20]
cmp eax, 0xc8
jae 0x1001638a
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
add eax, 0xc
lea ebp, [esp + 0x28]
push ebp
push eax
mov eax, dword [edx + 0x8c]
push edi
call eax
test eax, eax
je 0x10016333
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret 0x10
xor ebp, ebp
jmp 0x1001638f
mov ebp, 0xa007
jmp 0x1001638f
mov ebp, 0xa008
jmp 0x1001638f
mov ebp, 0xa009
push edi
mov eax, esi
call fcn.10015bf0
mov ebx, edi
mov eax, esi
call fcn.10016040
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret 0x10
Function at 0x100163ba
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 8], eax
test ebp, ebp
jne 0x100163d0
pop esi
mov eax, 0xa002
pop ebp
pop ecx
ret 0x10
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
or ebx, 1
push edi
mov eax, esi
call fcn.10015d20
push ebp
mov ebx, edi
mov eax, esi
call fcn.10015d90
push edi
mov eax, esi
call fcn.10015e40
push edi
mov eax, esi
call fcn.10015ec0
push edi
mov eax, esi
call fcn.10015f40
mov eax, esi
call fcn.10015b50
push edi
mov eax, esi
call fcn.10015fc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
mov ebx, 1
push ebx
add eax, 0xc
lea ebp, [esp + 0x28]
push ebp
push eax
mov eax, dword [edx + 0x8c]
push edi
call eax
test eax, eax
jne 0x1001650a
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push ebx
add eax, 0x30
lea ebp, [esp + 0x20]
push ebp
push eax
mov eax, dword [edx + 0x8c]
push edi
call eax
test eax, eax
jne 0x1001650a
mov al, byte [esp + 0x24]
test bl, al
je 0x10016479
test byte [esp + 0x1c], bl
je 0x100164b9
test al, 4
jne 0x100164bd
test al, 2
jne 0x100164c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x18]
cmp eax, 0xc8
jae 0x100164cb
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push ebx
add eax, 0xc
lea ebp, [esp + 0x28]
push ebp
push eax
mov eax, dword [edx + 0x8c]
push edi
call eax
test eax, eax
je 0x10016448
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret 0x10
xor ebp, ebp
jmp 0x100164d0
mov ebp, 0xa003
jmp 0x100164d0
mov ebp, 0xa004
jmp 0x100164d0
mov ebp, 0xa005
push edi
mov eax, esi
call fcn.10015bf0
test ebp, ebp
jne 0x100164ff
lea esp, [esp]
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x20], ebx
push ecx
push edi
call fcn.100160e0
mov ebp, eax
test ebp, ebp
jne 0x10016508
add dword [esp + 0x10], ebx
cmp dword [esp + 0x20], eax
jne 0x100164e0
mov ebx, edi
mov eax, esi
call fcn.10016040
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret 0x10
Function at 0x10018890
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10196490
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
mov edi, edx
cmp eax, ebx
je 0x10018a5d
cmp byte [eax], bl
je 0x10018a5d
cmp edi, ebx
je 0x10018a5d
cmp ecx, ebx
je 0x10018a5d
cmp byte [ecx], bl
je 0x10018a5d
push ecx
push 0x19c8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp eax, ebx
ja 0x10018919
lea eax, [ebx + 2]
jmp 0x10018a62
cmp eax, 0x19c6
jne 0x1001892a
mov eax, 3
jmp 0x10018a62
mov eax, ebp
call fcn.100191d0
cmp byte [edi], bl
je 0x10018a59
cmp byte [edi + 1], bl
je 0x10018a59
push edi
lea ecx, [esp + 0x3c]
call fcn.10004550
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0xa0], ebx
push ecx
mov byte [esp + 0x24], 0x3d
call fcn.100192e0
mov esi, eax
cmp esi, 0xffffffff
je 0x10018a24
mov eax, 0xf
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
push esi
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 1
call fcn.10018ac0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 2
call fcn.10004b90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call fcn.100045c0
push 0xffffffffffffffff
inc esi
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.10018ac0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 3
call fcn.10004b90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call fcn.100045c0
lea ecx, [esp + 0x54]
push ecx
mov ebx, ebp
call fcn.10019120
lea esi, [esp + 0x54]
call fcn.1001aa70
xor ebx, ebx
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10018a30
sub eax, edx
lea ecx, [esp + 0x38]
lea edi, [edi + eax + 1]
mov dword [esp + 0x98], 0xffffffff
call fcn.100045c0
cmp edi, ebx
jne 0x10018931
xor eax, eax
jmp 0x10018a62
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1016cb16
add esp, 0x88
ret
Function at 0x100277c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10195db8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
movzx edx, byte [edx]
mov eax, dword [ebp + 8]
mov byte [esp + 0x20], dl
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx]
lea esi, [esp + 0x20]
push esi
movzx ebx, bl
push 2
mov byte [esp + 0x29], dl
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x10027861
push str.FlashToolLib_sv5_common_generic_src_brom_mt6575.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x189
lea esi, [esp + 0x10]
call fcn.10111280
push edi
push ebx
mov dword [esp + 0x40], 1
mov ecx, dword [0x103b321c]
push str.BRom_MT6575::pmic_write__02X_:__d
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov eax, edi
jmp 0x10027863
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret 8
Function at 0x10036770
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1019927b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x100367ba
call fcn.1016d669
mov esi, dword [edi + 0xc]
mov ebp, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x100367c9
call fcn.1016d669
mov eax, dword [edi]
push ebx
push ebp
push esi
push eax
lea ebx, [esp + 0x28]
mov esi, edi
call fcn.1003bef0
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebp, ebp
cmp eax, ebp
je 0x100368c1
cmp dword [esp + 0x44], 2
jne 0x100368c1
push 0xffff
push 0x103b3928
push ebp
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
cmp eax, ebp
je 0x1003687e
mov esi, 0x103b3928
lea esp, [esp]
mov eax, esi
call fcn.10036330
test al, al
je 0x10036856
lea ecx, [esi + 3]
push ecx
call fcn.1016d104
mov ebx, eax
add esp, 4
push ebx
call fcn.10036260
add esp, 4
test al, al
je 0x10036856
movzx edx, bx
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.1003bc20
cmp byte [esi], 0
je 0x1003686a
jmp 0x10036860
inc ebp
cmp byte [ebp + 0x103b3928], 0
jne 0x10036860
inc ebp
cmp byte [ebp + 0x103b3928], 0
lea esi, [ebp + 0x103b3928]
jne 0x10036820
xor eax, eax
jmp 0x100368c7
push str.FlashToolLib_host_windows_com_enum.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x130
lea esi, [esp + 0x24]
call fcn.10111280
mov esi, eax
mov dword [esp + 0xd8], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x103b321c]
push str.EnumByCreateFile__:_Enum_device_fail__Err__d_
push eax
push esi
call fcn.10111350
add esp, 0x10
xor eax, eax
jmp 0x100368c7
push ebp
call fcn.10036670
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1016cb16
add esp, 0xc8
ret
Function at 0x1003d630
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101a1313
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mov ecx, 0x64
mov eax, 0x5dc
push 0x124
mov dword [ebp], vtable.com_sentry.0
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x24], 0x1003eca0
mov dword [ebp + 0x28], ebx
mov byte [ebp + 0x2c], bl
mov byte [ebp + 0x2d], bl
mov byte [ebp + 0x2e], 1
mov dword [ebp + 0x30], ebx
call fcn.1016d7a5
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x1003d6c0
push ebp
mov edi, eax
call fcn.1003cf50
jmp 0x1003d6c2
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [ebp + 0x30], eax
cmp eax, ebx
jne 0x1003d70b
push str.FlashToolLib_host_windows_com_sentry.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0xe2
lea esi, [esp + 0x18]
call fcn.10111280
mov dword [esp + 0x30], 1
mov ecx, dword [0x103b321c]
push str.____com_sentry::com_sentry__:_memory_allocation_fail__
push ecx
push eax
call fcn.10111350
add esp, 0xc
jmp 0x1003d73c
push esi
push str..COM_u
add eax, 0x20
push 0x104
push eax
call fcn.1016da60
mov edx, dword [esp + 0x4c]
add esp, 0x10
push ebx
push 0x1003eca0
push edx
mov edi, ebp
call fcn.1003e6b0
test eax, eax
jne 0x1003d73c
mov byte [ebp + 0x2d], 1
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x100415d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1019f2cd
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.1016cc07
mov eax, dword [esp + 0xd0]
xor ebx, ebx
mov dword [esp + 0xc8], ebx
mov dword [esi], vtable.YAML142::Exception.0
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0xd4]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 8]
push 0xffffffffffffffff
lea edi, [esi + 0x18]
mov dword [esi + 0x14], eax
push ebx
push ecx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10004b90
lea ebp, [esi + 0x34]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
push 1
push 3
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 2
call fcn.100423a0
push edi
push ecx
push 0x102212dc
push ecx
mov byte [esp + 0xd8], 3
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
inc edx
push edx
push ecx
push str.__column
push ecx
inc eax
push eax
push ecx
lea ecx, [esp + 0x64]
push str.yaml_cpp:_error_at_line
push ecx
call fcn.1002db50
add esp, 0xc
mov ecx, eax
call fcn.10042130
add esp, 4
push eax
call fcn.1002db50
add esp, 0xc
mov ecx, eax
call fcn.10042130
add esp, 4
push eax
call fcn.1002db50
add esp, 0xc
push eax
call fcn.100440c0
add esp, 8
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.100424f0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0xd4], 4
call fcn.10004b90
cmp dword [esp + 0x30], 0x10
jb 0x1004170e
mov eax, dword [esp + 0x1c]
push eax
call fcn.1016d679
add esp, 4
lea ecx, [esp + 0x88]
mov byte [esp + 0xc8], 2
call fcn.10042440
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x8c], vtable.std::ios_base.0
call fcn.1016bc5e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 8
Function at 0x10044ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10190b78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc], al
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
call fcn.10151d10
test al, al
jne 0x10044c0b
cmp dword [esp + 0x20], 0x10
jb 0x10044c07
mov ecx, dword [esp + 0xc]
push ecx
call fcn.1016d679
add esp, 4
xor al, al
jmp 0x10044c31
lea edx, [esp + 8]
push esi
push edx
call fcn.10044cc0
add esp, 8
cmp dword [esp + 0x20], 0x10
mov bl, al
jb 0x10044c2f
mov eax, dword [esp + 0xc]
push eax
call fcn.1016d679
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x2c
ret