Function at 0x101352e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1019cbc2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
push str.Check_and_preparation...
lea edi, [esp + 0x34]
mov dword [esp + 0x48], eax
mov esi, ecx
mov dword [esp + 0x34], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x38], 0x1dd
mov byte [esp + 0x3c], bl
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
add esp, 4
cmp esi, ebx
jne 0x101353a1
push str.Invalid_arguments_
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x38], 0x1e2
mov byte [esp + 0x3c], 0xff
mov dword [esp + 0x40], str._ERROR:
mov dword [esp + 0x44], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
add esp, 4
mov eax, 0x3ea
jmp 0x10135913
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x1013543e
push eax
push str.CALLBACK_COM_INIT_STAGE_0x_08X_....
lea edi, [esp + 0x38]
mov dword [esp + 0x38], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x3c], 0x1e9
mov byte [esp + 0x40], bl
mov dword [esp + 0x44], str._DEBUG:
mov dword [esp + 0x48], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
add esp, 8
push ecx
push ebp
call edx
mov edx, eax
cmp edx, ebx
je 0x1013543e
push edx
mov dword [esp + 0x34], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x38], 0x1ec
mov byte [esp + 0x3c], 0xff
mov dword [esp + 0x40], str._ERROR:
mov dword [esp + 0x44], str.SECURE_HANDLE_BROM::SendSCERT
call sym.FlashToolLib.v1.dll_StatusToString
push eax
mov eax, dword [esi + 0x14]
push edx
push eax
push str.CALLBACK_COM_INIT_STAGE_0x_08X_:_iRet__d_.__s
lea edi, [esp + 0x40]
call fcn.10017c90
add esp, 0x10
mov eax, 0x13b5
jmp 0x10135913
push str.Disable_watchdog_timeout...
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x38], 0x1f5
mov byte [esp + 0x3c], bl
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
add esp, 4
push ebp
call eax
mov dword [esp + 0x30], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x40], str.SECURE_HANDLE_BROM::SendSCERT
lea edi, [esp + 0x30]
test eax, eax
je 0x101354c8
push str.Disable_watchdog_timer_fail_
mov dword [esp + 0x38], 0x1f8
mov byte [esp + 0x3c], 0xff
mov dword [esp + 0x40], str._ERROR:
call fcn.10017c90
add esp, 4
mov eax, 0x7fd
jmp 0x10135913
push str.Get_SEC_CONFIG...
mov dword [esp + 0x38], 0x1fe
mov byte [esp + 0x3c], bl
mov dword [esp + 0x40], str._DEBUG:
call fcn.10017c90
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov edx, dword [0x103b321c]
add esp, 4
mov dword [esp + 0x30], vtable.CSLA_SV5.0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x84], ebx
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebx
call fcn.10048e50
cmp eax, ebx
jne 0x101356a7
mov ecx, dword [esp + 0x48]
push ecx
push str.sec_config__0x_08X
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x28], 0x203
mov byte [esp + 0x2c], bl
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
mov dl, byte [esp + 0x50]
add esp, 8
and dl, 1
mov dword [esp + 0x1c], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.SECURE_HANDLE_BROM::SendSCERT
lea edi, [esp + 0x1c]
je 0x10135599
mov dword [esp + 0x20], 0x20b
push str.Secure_BBChip__
jmp 0x101355a6
mov dword [esp + 0x20], 0x20f
push str.Non_secure_BBChip.
call fcn.10017c90
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
je 0x101356fe
push 1
add eax, 0x420
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, str.SECURE_HANDLE_BROM::SendSCERT__:
call fcn.1012d180
mov byte [esp + 0x80], 1
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x27c], ebx
je 0x101355f3
cmp dword [eax + 0x280], ebx
jne 0x101355ff
cmp dword [eax + 0x284], ebx
jne 0x101355ff
xor edi, edi
call fcn.100ed860
jmp 0x101356ed
mov ebx, eax
call fcn.100edb50
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x280]
mov eax, dword [eax + 0x27c]
lea ecx, [esp + 0x1b]
push ecx
push edx
push eax
push ebp
lea ecx, [esp + 0x40]
call fcn.10047e80
xor ebx, ebx
cmp eax, ebx
je 0x10135683
movzx ecx, byte [esp + 0x1b]
push ecx
push str.Send_CERT_file_fail__Err__d_
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x28], 0x223
mov byte [esp + 0x2c], 0xff
mov dword [esp + 0x30], str._ERROR:
mov dword [esp + 0x34], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
add esp, 8
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x84], bl
call fcn.1012d310
mov eax, 0x178c
jmp 0x10135913
lea eax, [esp + 0x48]
push eax
push ebp
lea ecx, [esp + 0x38]
call fcn.10048e50
cmp eax, ebx
je 0x101356b1
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x84], bl
call fcn.1012d310
mov eax, 0x178e
jmp 0x10135913
mov edx, dword [esp + 0x48]
push edx
push str.sec_config__0x_08X
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x28], 0x22c
mov byte [esp + 0x2c], bl
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
add esp, 8
xor ebx, ebx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x84], bl
call fcn.1012d310
push str.Check_BootROM_version...
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x24], 0x232
mov byte [esp + 0x28], bl
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc4]
add esp, 4
lea eax, [esp + 0x1b]
push eax
push ebp
call edx
test eax, eax
je 0x1013578d
push str.Get_BROM_secured_version_fail_
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x24], 0x239
mov byte [esp + 0x28], 0xff
mov dword [esp + 0x2c], str._ERROR:
mov dword [esp + 0x30], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
add esp, 4
mov eax, 0x7fb
jmp 0x10135913
mov al, byte [esp + 0x1b]
cmp al, 5
jbe 0x101357d9
movzx eax, al
push eax
push str.Unsupported_BootROM_version__BROM_version_0x_02X_.
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x28], 0x23f
mov byte [esp + 0x2c], 0xff
mov dword [esp + 0x30], str._ERROR:
mov dword [esp + 0x34], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
add esp, 8
mov eax, 0x3fc
jmp 0x10135913
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x10135890
push eax
push ebp
push str.Invoke_m_cb_in_brom_stage_0x_08X__callback_function_...
lea edi, [esp + 0x28]
mov dword [esp + 0x28], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x2c], 0x246
mov byte [esp + 0x30], bl
mov dword [esp + 0x34], str._DEBUG:
mov dword [esp + 0x38], str.SECURE_HANDLE_BROM::SendSCERT
call fcn.10017c90
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
add esp, 0xc
push ecx
mov ecx, dword [esi + 0x1c]
push ebp
push eax
call ecx
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.SECURE_HANDLE_BROM::SendSCERT
lea edi, [esp + 0x1c]
cmp eax, ebx
jne 0x10135868
mov esi, str.FlashToolLib_source_security_src_secure_handle_brom.cpp
push str.pScertArg__m_cb_in_brom_stage_run_success
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x24d
call fcn.10017c90
add esp, 4
jmp 0x10135895
push eax
push str.pScertArg__m_cb_in_brom_stage_return_fail_:__ret__0x_x
mov dword [esp + 0x24], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x28], 0x24f
call fcn.10017c90
add esp, 8
mov eax, 0xc0060006
jmp 0x10135913
mov esi, str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov byte [esp + 0x24], bl
mov ebx, str.SECURE_HANDLE_BROM::SendSCERT
push str.Enable_watchdog_timeout...
lea edi, [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x255
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], ebx
call fcn.10017c90
mov edx, dword [esp + 0x48]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov edx, dword [eax + 0x170]
add esp, 4
push ebp
call edx
test eax, eax
je 0x10135911
push str.Enable_watchdog_timer_fail_
lea edi, [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x258
mov byte [esp + 0x28], 0xff
mov dword [esp + 0x2c], str._ERROR:
mov dword [esp + 0x30], ebx
call fcn.10017c90
add esp, 4
mov eax, 0x7fd
jmp 0x10135913
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1016cb16
add esp, 0x70
ret 8