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

Disassembly:
push 0xffffffffffffffff
push 0x101a074f
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov edx, dword [0x103b321c]
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov byte [esp + 0x17], bl
mov dword [esp + 0x24], vtable.CSLA_SV5.0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x16], bl
mov byte [esp + 0x15], bl
cmp byte [esp + 0xc8], bl
jne 0x101344c4
push 0x40
lea eax, [esp + 0x38]
push ebx
push eax
mov dword [esp + 0x3c], ebx
call fcn.10173270
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x40
lea edx, [esp + 0x3c]
push edx
push esi
lea ecx, [esp + 0x34]
call fcn.10048ac0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
push str.ME_ID__0x_08X__0x_08X__0x_08X__0x_08X
lea edi, [esp + 0x88]
mov dword [esp + 0x88], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x8c], 0x4f
mov byte [esp + 0x90], bl
mov dword [esp + 0x94], str._DEBUG:
mov dword [esp + 0x98], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 0x14
lea ecx, [esp + 0x30]
push ecx
push 0x40
lea edx, [esp + 0x3c]
push edx
push esi
lea ecx, [esp + 0x34]
call fcn.10048ac0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
push str.ME_ID__0x_08X__0x_08X__0x_08X__0x_08X
lea edi, [esp + 0x88]
mov dword [esp + 0x88], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x8c], 0x51
mov byte [esp + 0x90], bl
mov dword [esp + 0x94], str._DEBUG:
mov dword [esp + 0x98], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 0x14
lea ecx, [esp + 0x1c]
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.10048e50
cmp eax, ebx
jne 0x1013476f
mov ecx, dword [esp + 0x1c]
mov al, cl
push ecx
and al, 1
push str.sec_config__0x_08X
lea edi, [esp + 0x7c]
mov byte [esp + 0x1d], al
mov dword [esp + 0x7c], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x80], 0x59
mov byte [esp + 0x84], bl
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 8
mov dword [esp + 0x74], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov byte [esp + 0x7c], bl
mov dword [esp + 0x80], str._DEBUG:
mov dword [esp + 0x84], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
lea edi, [esp + 0x74]
cmp byte [esp + 0x15], bl
je 0x101343b4
mov dword [esp + 0x78], 0x5d
push str.Secure_BB_Chip__
jmp 0x101343c1
mov dword [esp + 0x78], 0x5f
push str.Non_secure_BB_Chip.
call fcn.10017c90
mov eax, dword [ebp + 0x38]
add esp, 4
cmp eax, ebx
je 0x10134482
push 1
add eax, 0x420
push eax
lea edx, [esp + 0x90]
push edx
mov ecx, str.SECURE_HANDLE_BROM::onDAWillBeDownloaded:
call fcn.1012d180
mov byte [esp + 0xbc], 1
mov eax, dword [ebp + 0x38]
cmp dword [eax + 0x27c], ebx
je 0x10134411
cmp dword [eax + 0x280], ebx
jne 0x1013441a
cmp dword [eax + 0x284], ebx
jne 0x1013441a
xor edi, edi
call fcn.100ed860
jmp 0x1013446e
mov ebx, eax
call fcn.100edb50
mov eax, dword [ebp + 0x38]
mov edx, dword [eax + 0x280]
mov eax, dword [eax + 0x27c]
lea ecx, [esp + 0x17]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.10047e80
test eax, eax
je 0x1013446c
mov ecx, dword [esp + 0x20]
xor al, al
lea edx, [esp + 0x88]
push edx
mov byte [ecx + 0x78], al
mov byte [esp + 0xc0], al
call fcn.1012d310
mov eax, 0x178c
jmp 0x10134b13
xor ebx, ebx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xc0], bl
call fcn.1012d310
lea ecx, [esp + 0x1c]
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.10048e50
cmp eax, ebx
jne 0x1013476f
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 1
and cl, 1
mov byte [esp + 0x16], cl
mov ecx, eax
shr ecx, 2
and cl, 1
push eax
mov byte [esp + 0x19], cl
mov dword [esp + 0x7c], 0x8d
push str.sec_config__0x_08X
jmp 0x101344ed
lea edx, [esp + 0x1c]
push edx
push esi
lea ecx, [esp + 0x2c]
call fcn.10048e50
cmp eax, ebx
jne 0x1013476f
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x7c], 0x97
push str.sec_config__0x_08X__boot_loader_
lea edi, [esp + 0x7c]
mov dword [0x103b346c], eax
mov dword [esp + 0x7c], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov byte [esp + 0x84], bl
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edi, dword [esp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc4]
add esp, 8
lea eax, [edi + 0x30]
push eax
push esi
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
add edi, 0x31
push edi
push esi
call eax
cmp byte [esp + 0xc8], bl
jne 0x101345be
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov al, byte [edx + 4]
cmp al, 5
jbe 0x101345be
movzx eax, al
push eax
push esi
push str.__p_:_Unsupported_BootROM_version__m_brom_ver_0x_02X_.
lea edi, [esp + 0x80]
mov dword [esp + 0x80], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x84], 0xa3
mov byte [esp + 0x88], 0xff
mov dword [esp + 0x8c], str._ERROR:
mov dword [esp + 0x90], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 0xc
mov eax, 0x3fc
jmp 0x10134b13
cmp byte [esp + 0x16], bl
jne 0x101345ce
cmp byte [esp + 0x15], bl
je 0x1013482c
mov eax, dword [ebp + 0x34]
cmp eax, ebx
jne 0x10134629
push ebx
push esi
push str.__p_:_AUTH_HANDLE_0x_08X__is_NULL_
lea edi, [esp + 0x80]
mov dword [esp + 0x80], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x84], 0xb1
mov byte [esp + 0x88], 0xff
mov dword [esp + 0x8c], str._ERROR:
mov dword [esp + 0x90], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 0xc
mov eax, 0x1388
jmp 0x10134b13
push 1
add eax, 0x970
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, str.SECURE_HANDLE_BROM::onDAWillBeDownloaded:
call fcn.1012d180
mov byte [esp + 0xbc], 3
mov edx, dword [ebp + 0x34]
cmp dword [edx + 0x7cc], ebx
je 0x1013466e
cmp dword [edx + 0x7d0], ebx
jne 0x101346f8
cmp dword [edx + 0x7d4], ebx
jne 0x101346f8
xor ecx, ecx
call fcn.100ecd30
mov ebp, dword [ebp + 0x34]
cmp dword [ebp + 0x7c8], 0x10
jb 0x10134689
mov eax, dword [ebp + 0x7b4]
jmp 0x1013468f
lea eax, [ebp + 0x7b4]
push eax
push ebp
push esi
push str.__p_:_AUTH_HANDLE_0x_08X___s__is_not_ready_to_download_
lea edi, [esp + 0x84]
mov dword [esp + 0x84], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x88], 0xc2
mov byte [esp + 0x8c], 0xff
mov dword [esp + 0x90], str._ERROR:
mov dword [esp + 0x94], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 0x10
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0xc0], bl
call fcn.1012d310
mov eax, 0x1388
jmp 0x10134b13
mov edi, edx
call fcn.100ed350
mov eax, dword [ebp + 0x34]
mov edx, dword [eax + 0x7d0]
mov eax, dword [eax + 0x7cc]
lea ecx, [esp + 0x17]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.100484a0
cmp eax, ebx
je 0x10134748
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x88]
push edx
mov byte [ecx + 0x78], bl
mov byte [esp + 0xc0], bl
call fcn.1012d310
mov eax, 0x178d
jmp 0x10134b13
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.10048e50
cmp eax, ebx
je 0x10134779
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0xc0], bl
call fcn.1012d310
mov eax, 0x178e
jmp 0x10134b13
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 1
push ecx
and al, 1
push str.sec_config__0x_08X
lea edi, [esp + 0x7c]
mov byte [esp + 0x1e], al
mov dword [esp + 0x7c], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x80], 0xdb
mov byte [esp + 0x84], bl
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 8
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0xc0], bl
call fcn.1012d310
cmp byte [esp + 0x16], bl
je 0x1013482c
mov edx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x34]
lea ecx, [esp + 0x17]
push ecx
mov ecx, dword [ebp + 0x44]
push edx
mov edx, dword [ebp + 0x40]
push ecx
mov ecx, dword [ebp + 0x3c]
push edx
mov edx, dword [eax + 0x7d0]
mov eax, dword [eax + 0x7cc]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.100490b0
test eax, eax
je 0x1013482c
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x20]
mov byte [edx + 0x78], cl
mov eax, 0x1774
jmp 0x10134b13
push ebx
mov edx, str.sectest.jumpbl
call fcn.10073350
add esp, 4
test al, al
je 0x101348f6
push str.Start_to_Jump_to_BL__
lea edi, [esp + 0x8c]
mov dword [esp + 0x8c], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x90], 0xf8
mov byte [esp + 0x94], bl
mov dword [esp + 0x98], str._DEBUG:
mov dword [esp + 0x9c], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0xb8]
add esp, 4
push 1
lea eax, [esp + 0x78]
push eax
push esi
call edx
test eax, eax
je 0x101348f6
push str.Jump_to_BL_Failed__
lea edi, [esp + 0x8c]
mov dword [esp + 0x8c], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x90], 0xfa
mov byte [esp + 0x94], bl
mov dword [esp + 0x98], str._DEBUG:
mov dword [esp + 0x9c], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 4
mov eax, 0x7f4
jmp 0x10134b13
cmp dword [ebp + 0x70], ebx
je 0x1013498d
mov byte [esp + 0x90], bl
mov dword [esp + 0x94], str._DEBUG:
mov dword [esp + 0x98], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
push esi
lea edi, [esp + 0x8c]
cmp byte [esp + 0xcc], bl
jne 0x10134967
push str.__p_:_BOOTROM_USB_DL__
mov dword [esp + 0x90], str.FlashToolLib_source_security_src_secure_handle_brom.cpp
mov dword [esp + 0x94], 0x106
call fcn.10017c90
mov eax, dword [ebp + 0x5c]
mov cl, byte [eax + 0x3855]
mov edx, dword [esp + 0x20]
add esp, 8
mov byte [edx + 4], cl
mov ebp, str.FlashToolLib_source_security_src_secure_handle_brom.cpp
jmp 0x1013499f
mov ebp, str.FlashToolLib_source_security_src_secure_handle_brom.cpp
push str.__p_:_BOOTLOADER_USB_DL__
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], 0x113
call fcn.10017c90
add esp, 8
jmp 0x10134992
mov ebp, str.FlashToolLib_source_security_src_secure_handle_brom.cpp
cmp byte [esp + 0xc8], bl
jne 0x10134a53
mov eax, dword [esp + 0x18]
cmp byte [eax + 4], bl
jne 0x10134a53
push esi
push str.__p_:_SetReg_Remap___...
lea edi, [esp + 0x90]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], 0x11e
mov byte [esp + 0x98], bl
mov dword [esp + 0x9c], str._DEBUG:
mov dword [esp + 0xa0], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x174]
add esp, 8
push esi
call eax
test eax, eax
je 0x10134a0f
mov eax, 0x7d2
jmp 0x10134b13
push esi
push str.__p_:_SetReg_Remap___Pass_
lea edi, [esp + 0x90]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], 0x122
mov byte [esp + 0x98], bl
mov dword [esp + 0x9c], str._DEBUG:
mov dword [esp + 0xa0], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 8
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 4], bl
je 0x10134b11
push esi
push str.__p_:_BRom_GetFWVer___...
lea edi, [esp + 0x90]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], 0x12b
mov byte [esp + 0x98], bl
mov dword [esp + 0x9c], str._DEBUG:
mov dword [esp + 0xa0], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov edx, dword [ecx]
add esp, 8
lea edi, [eax + 0x38]
push edi
add eax, 0x34
push eax
mov eax, dword [edx + 0xd4]
push esi
call eax
test eax, eax
je 0x10134acc
mov eax, 0x7ef
jmp 0x10134b13
push edi
push esi
push str.__p_:_BRom_GetFWVer___Pass__Get_OLD_FW_VER__s_
lea edi, [esp + 0x94]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], 0x12f
mov byte [esp + 0x9c], bl
mov dword [esp + 0xa0], str._DEBUG:
mov dword [esp + 0xa4], str.SECURE_HANDLE_BROM::onDAWillBeDownloaded
call fcn.10017c90
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1016cb16
add esp, 0xb0
ret 0xc