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

Disassembly:
push 0xffffffffffffffff
push 0x1019b1d5
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push ebp
push esi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
xor ebx, ebx
push 0x3c
lea eax, [esp + 0x54]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x2c], ebx
xor ebp, ebp
mov dword [esp + 0x58], ebx
call fcn.10173270
add esp, 0xc
push 0xff
lea ecx, [esp + 0x91]
push ebp
push ecx
mov byte [esp + 0x98], bl
call fcn.10173270
add esp, 0xc
test edi, edi
jne 0x10137681
or eax, 0xffffffff
jmp 0x10137bf6
mov dword [edi], ebx
cmp byte [esi + 0x43d], bl
je 0x10137698
mov dword [edi], 0x80
mov ebp, 0x80
xor ebx, ebx
push 4
add esi, 0x3f8
push ebx
push ebp
lea edx, [esp + 0x2c]
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.100da5d0
test al, al
jne 0x101376f4
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x67
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 0
mov edx, dword [0x103b321c]
push str.lib_sec_get_metadata_size____fail_to_get_image_magic_from_image
push edx
push eax
call fcn.10111350
add esp, 0xc
jmp 0x10137bf4
cmp dword [esp + 0x20], 0x46424642
jne 0x1013770d
add dword [edi], 0x4000
add ebp, 0x4000
adc ebx, 0
push 0x40
push ebx
push ebp
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.100da5d0
test al, al
jne 0x1013775f
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x72
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 1
push str.lib_sec_get_metadata_size____fail_to_get_sign_image_header
mov ecx, dword [0x103b321c]
push ecx
push eax
call fcn.10111350
add esp, 0xc
jmp 0x10137bf4
mov eax, dword [esp + 0x7c]
cmp eax, 0x7b797b79
jne 0x1013799c
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x78
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 2
mov edx, dword [0x103b321c]
push str.lib_sec_get_metadata_size____sign_image_v4
push edx
push eax
call fcn.10111350
add esp, 0xc
push 1
mov dword [esp + 0x19c], 0xffffffff
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
push 0
push 0
lea eax, [esi + 0x40]
add dword [edi], eax
push ecx
call fcn.101769e0
xor ecx, ecx
add eax, esi
adc edx, ecx
mov ecx, dword [esp + 0x88]
xor esi, esi
add eax, ecx
mov ecx, dword [esp + 0x14]
adc edx, esi
add eax, 0x40
adc edx, esi
add ebp, eax
adc ebx, edx
push 8
push ebx
push ebp
lea edx, [esp + 0x24]
call fcn.100da5d0
test al, al
je 0x101378cd
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x89
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [0x103b321c]
push ecx
push str._py__lib_sec_get_metadata_size____extension_header__0x_x__0x_x_
push edx
push eax
call fcn.10111350
add esp, 0x14
mov dword [esp + 0x198], 0xffffffff
cmp dword [esp + 0x18], 0x45454545
jne 0x101378fc
mov eax, dword [esp + 0x1c]
call fcn.1013a0f0
mov ecx, dword [esp + 0x14]
movzx esi, al
push esi
push ebx
push ebp
lea edx, [esp + 0x98]
call fcn.100da5d0
test al, al
je 0x10137941
mov edx, esi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x8c]
mov eax, esi
call fcn.1013a150
test eax, eax
je 0x10137970
add dword [edi], eax
add ebp, eax
adc ebx, 0
cmp esi, 0xffffffff
je 0x10137bf4
mov ecx, dword [esp + 0x14]
push 8
push ebx
push ebp
lea edx, [esp + 0x24]
call fcn.100da5d0
test al, al
jne 0x10137804
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x85
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 3
push str.lib_sec_get_metadata_size____fail_to_get_extension_header
jmp 0x1013774a
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x8c
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 5
push str.lib_sec_get_metadata_size____corrupted_extension_header
mov edx, dword [0x103b321c]
push edx
push eax
call fcn.10111350
add esp, 0xc
mov dword [edi], 0
jmp 0x10137bf4
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x93
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 6
push str.lib_sec_get_metadata_size____fail_to_get_extension_buf
jmp 0x1013774a
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x99
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 7
push str.lib_sec_get_metadata_size____fail_to_get_extension_header_size
jmp 0x10137926
cmp dword [esp + 0x88], 0
jne 0x10137b5d
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xa6
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 8
mov ecx, dword [0x103b321c]
push str.lib_sec_get_metadata_size____sign_image_v3
push ecx
push eax
call fcn.10111350
mov dword [esp + 0x1a4], 0xffffffff
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x80]
add esp, 0xc
lea edx, [eax + 0x40]
add dword [edi], edx
xor edx, edx
xor esi, esi
add ecx, eax
adc edx, esi
add ecx, 0x40
adc edx, esi
add ebp, ecx
mov ecx, dword [esp + 0x14]
adc ebx, edx
push 8
push ebx
push ebp
lea edx, [esp + 0x24]
call fcn.100da5d0
test al, al
je 0x10137aa6
jmp 0x10137a30
cmp dword [esp + 0x18], 0x45454545
jne 0x10137ad5
mov eax, dword [esp + 0x1c]
call fcn.1013a0f0
mov ecx, dword [esp + 0x14]
movzx esi, al
push esi
push ebx
push ebp
lea edx, [esp + 0x98]
call fcn.100da5d0
test al, al
je 0x10137aff
mov edx, esi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x8c]
mov eax, esi
call fcn.1013a150
test eax, eax
je 0x10137b2e
add dword [edi], eax
add ebp, eax
adc ebx, 0
cmp esi, 0xffffffff
je 0x10137bf4
mov ecx, dword [esp + 0x14]
push 8
push ebx
push ebp
lea edx, [esp + 0x24]
call fcn.100da5d0
test al, al
jne 0x10137a30
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xb1
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 9
push str.lib_sec_get_metadata_size____fail_to_get_extension_header
jmp 0x1013774a
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xb6
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 0xa
jmp 0x10137921
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xbd
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 0xb
push str.lib_sec_get_metadata_size____fail_to_get_extension_buf
jmp 0x1013774a
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xc3
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 0xc
push str.lib_sec_get_metadata_size____fail_to_get_extension_header_size
jmp 0x10137926
cmp eax, 0x7a797a79
jne 0x10137ba4
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xd0
lea esi, [esp + 0x28]
call fcn.10111280
mov dword [esp + 0x198], 0xd
mov ecx, dword [0x103b321c]
push str.lib_sec_get_metadata_size____sign_image_v1
push ecx
push eax
call fcn.10111350
mov edx, dword [esp + 0x84]
jmp 0x10137bec
cmp dword [esp + 0x4c], 0x53535353
jne 0x10137bf4
push str.FlashToolLib_sv5_common_generic_src_sec_util.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xd6
lea esi, [esp + 0x3c]
call fcn.10111280
mov dword [esp + 0x198], 0xe
mov ecx, dword [0x103b321c]
push str.lib_sec_get_metadata_size____sign_image_v2
push ecx
push eax
call fcn.10111350
mov edx, dword [esp + 0x94]
add edx, 0x40
add esp, 0xc
add dword [edi], edx
xor eax, eax
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x18c
ret