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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov esi, dword [ecx]
push 0x20
call fcn.00416880
add esp, 4
mov dword [esp + 8], eax
mov dword [esp], 0x21
mov dword [esp + 4], 0x10
mov dword [eax + 0xc], 0x7478742e
mov dword [eax + 8], 0x6f666e69
mov dword [eax + 4], 0x2d64696f
mov dword [eax], 0x72646e61
mov byte [eax + 0x10], 0
lea edx, [esp + 0x84]
mov edi, esp
mov ecx, esi
mov eax, dword [esi]
push edx
push edi
call dword [eax]
test byte [esp], 1
mov ebx, eax
je 0x402763
push dword [esp + 8]
call fcn.00416a20
add esp, 4
test bl, bl
je 0x403242
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
sub ebx, ecx
cmp ebx, 0xfffffff0
jae 0x40324c
cmp ebx, 0xb
jae 0x4027b3
mov eax, ebx
lea esi, [esp + 0x69]
add al, bl
test ebx, ebx
mov byte [esp + 0x68], al
jne 0x4027d7
jmp 0x4027e2
lea edi, [ebx + 0x10]
and edi, 0xfffffff0
push edi
mov esi, ecx
call fcn.00416880
mov ecx, esi
add esp, 4
or edi, 1
mov dword [esp + 0x70], eax
mov esi, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebx
push ebx
push ecx
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov ecx, dword [0x5364cc]
mov dword [esp], 0
mov byte [esi + ebx], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp], 0xe
mov dword [esp + 4], 0x74637564
mov dword [esp + 1], 0x646f7270
lea eax, [esp + 0x58]
push 0
push eax
lea eax, [esp + 8]
push eax
call fcn.0045c970
test byte [esp], 1
mov esi, eax
je 0x402854
push dword [esp + 8]
call fcn.00416a20
add esp, 4
test esi, esi
je 0x4028a3
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
mov ecx, esp
push dword [0x5364cc]
call fcn.0045ec30
test byte [esp], 1
je 0x40287e
mov eax, dword [esp + 8]
jmp 0x402882
lea eax, [esp + 1]
push eax
push str.getvar:product_FAILED___s__n
push esi
call fcn.0040c070
add esp, 0xc
test byte [esp], 1
je 0x4028a3
push dword [esp + 8]
call fcn.00416a20
add esp, 4
mov edx, esp
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov word [esp], 0xa02
mov byte [esp + 2], 0
lea eax, [esp + 0x68]
lea ecx, [esp + 0x90]
push edx
push eax
push ecx
call fcn.0045aa40
add esp, 0xc
test byte [esp], 1
je 0x4028ef
push dword [esp + 8]
call fcn.00416a20
add esp, 4
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
cmp esi, eax
mov dword [esp + 0xa4], eax
je 0x40300a
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea eax, [esp + 1]
mov dword [esp + 0x78], eax
jmp 0x402930
add esi, 0xc
cmp esi, dword [esp + 0xa4]
je 0x403003
movzx eax, byte [esi]
test al, 1
jne 0x402940
shr eax, 1
test eax, eax
jne 0x402947
jmp 0x402920
mov eax, dword [esi + 4]
test eax, eax
je 0x402920
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004016e0
add esp, 0x14
test al, al
mov dword [esp + 0x80], esi
je 0x4029d0
movzx eax, byte [esp + 0x20]
test al, 1
je 0x4029e8
mov eax, dword [esp + 0x24]
cmp eax, 0x10
je 0x4029ef
jmp 0x402a0b
push 2
call edi
add esp, 4
test byte [esi], 1
jne 0x402aff
lea ecx, [esi + 1]
jmp 0x402b02
shr eax, 1
cmp eax, 0x10
jne 0x402a0b
lea ecx, [esp + 0x20]
push 0x10
push str.partition_exists
push 0xffffffffffffffff
push 0
call fcn.0041e0f0
test eax, eax
je 0x402b98
mov al, byte [esp + 0x1f]
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
push str.Checking_
lea ebx, [esp + 0x54]
push ebx
call fcn.00420600
add esp, 0xc
mov ecx, ebx
push 0x50cb48
call fcn.0041cd20
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
push 2
call edi
add esp, 4
test byte [esp], 1
lea ecx, [esp + 1]
je 0x402a6f
mov ecx, dword [esp + 8]
push ecx
push str.__50s
push eax
call fcn.0040c070
add esp, 0xc
call fcn.004228d0
fstp qword [0x5364d0]
test byte [esp], 1
je 0x402a9b
push dword [esp + 8]
call fcn.00416a20
add esp, 4
test byte [esp + 0x4c], 1
je 0x402aae
push dword [esp + 0x54]
call fcn.00416a20
add esp, 4
call fcn.004228d0
fstp qword [esp + 0xc0]
movzx ecx, byte [esp + 0x40]
movsd xmm0, qword [esp + 0xc0]
mov eax, ecx
movsd qword [esp + 0xa8], xmm0
shr eax, 1
test cl, 1
mov edx, eax
je 0x402ae0
mov edx, dword [esp + 0x44]
test edx, edx
je 0x402d78
movzx ebx, byte [esp + 0x58]
test bl, 1
je 0x402b50
mov esi, dword [esp + 0x5c]
cmp edx, esi
je 0x402b5c
jmp 0x402d00
mov ecx, dword [esi + 8]
push ecx
push str.android_info.txt_syntax_error:__s_n
push eax
call fcn.0040c070
add esp, 0xc
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402fb1
mov eax, dword [esp + 0x34]
cmp eax, esi
jne 0x402b3a
jmp 0x402f75
cmp esi, ebx
mov eax, ebx
je 0x402fa0
test byte [eax - 0xc], 1
lea ebx, [eax - 0xc]
je 0x402b30
push dword [eax - 4]
call fcn.00416a20
add esp, 4
jmp 0x402b30
mov esi, ebx
shr esi, 1
cmp edx, esi
jne 0x402d00
test bl, 1
lea esi, [esp + 0x59]
je 0x402b69
mov esi, dword [esp + 0x60]
test cl, 1
jne 0x402cee
xor ecx, ecx
nop word cs:[eax + eax]
nop
movzx edx, byte [esp + ecx + 0x41]
cmp dl, byte [esi + ecx]
jne 0x402d00
inc ecx
cmp eax, ecx
jne 0x402b80
jmp 0x402d78
mov eax, dword [esp + 0x30]
mov ebx, dword [0x5364cc]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
push eax
push str.has_slot:
lea eax, [esp + 0x54]
mov esi, eax
push eax
call fcn.00420600
add esp, 0xc
mov ecx, ebx
push 0
lea eax, [esp + 4]
push eax
push esi
call fcn.0045c970
test eax, eax
jne 0x4031f8
movzx ecx, byte [esp]
mov edx, dword [esp + 4]
mov eax, ecx
mov esi, edx
shr eax, 1
and cl, 1
cmove esi, eax
cmp esi, 3
jne 0x402c2b
mov ecx, esp
push 3
push 0x50ca02
push 0xffffffffffffffff
push 0
call fcn.0041e0f0
test eax, eax
je 0x402fe7
movzx eax, byte [esp]
mov edx, dword [esp + 4]
mov ecx, eax
shr eax, 1
and cl, 1
test cl, cl
mov bl, 1
cmovne eax, edx
cmp eax, 2
jne 0x402c4e
mov ecx, esp
push 2
push 0x50ca11
push 0xffffffffffffffff
push 0
call fcn.0041e0f0
test eax, eax
setne bl
test byte [esp + 0x4c], 1
je 0x402c61
push dword [esp + 0x54]
call fcn.00416a20
add esp, 4
test bl, bl
jne 0x40320b
mov ebx, 0xfffffe50
mov dword [esp + 0x3c], 0
jmp 0x402c85
add ebx, 0x18
je 0x402cd4
mov esi, dword [ebx + 0x536238]
test esi, esi
je 0x402c80
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
test dl, 1
je 0x402cb0
mov edx, dword [ecx + 4]
cmp eax, edx
jne 0x402c80
jmp 0x402cb6
shr edx, 1
cmp eax, edx
jne 0x402c80
push eax
push esi
push 0xffffffffffffffff
push 0
call fcn.0041e0f0
test eax, eax
jne 0x402c80
mov al, 1
mov byte [ebx + 0x536248], 0
mov dword [esp + 0x3c], eax
jmp 0x402c80
test byte [esp + 0x3c], 1
je 0x403233
test byte [esp], 1
jne 0x402f59
jmp 0x402f65
push edx
push esi
push dword [esp + 0x50]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x402d78
call fcn.004228d0
fstp qword [esp + 0xb8]
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 0x10], xmm0
push 2
call edi
add esp, 4
test byte [esp + 0x58], 1
lea ecx, [esp + 0x59]
je 0x402d31
mov ecx, dword [esp + 0x60]
test byte [esp + 0x40], 1
lea edx, [esp + 0x41]
je 0x402d40
mov edx, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x10]
subsd xmm0, qword [esp + 0xa8]
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.IGNORE__product_is__s_required_only_for__s___7.3fs__n
call fcn.0040c070
add esp, 0x18
jmp 0x402f65
mov ecx, dword [0x5364cc]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0045c970
test eax, eax
jne 0x403186
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x9c], eax
jne 0x402ddc
xor ecx, ecx
jmp 0x402efa
add esi, 0xc
cmp esi, dword [esp + 0x9c]
je 0x402dc1
movzx ecx, byte [esi]
movzx edx, byte [esp]
mov eax, ecx
mov dword [esp + 0x10], ecx
shr eax, 1
test cl, 1
mov ecx, dword [esi + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x7c], ecx
cmove ecx, eax
test dl, 1
je 0x402e10
mov eax, dword [esp + 4]
jmp 0x402e14
mov eax, edx
shr eax, 1
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jne 0x402e70
mov ebx, dword [esi + 8]
test dl, 1
lea ecx, [esi + 1]
lea edx, [esp + 1]
je 0x402e2f
mov edx, dword [esp + 8]
test byte [esp + 0x10], 1
mov eax, dword [esp + 0x3c]
cmovne ecx, ebx
jne 0x402eb0
mov cl, 1
test eax, eax
je 0x402efa
mov ecx, dword [esp + 0x10]
xor eax, eax
shr ecx, 1
nop
movzx ebx, byte [esi + eax + 1]
cmp bl, byte [edx + eax]
jne 0x402e70
inc eax
cmp ecx, eax
jne 0x402e50
jmp 0x402ef8
test byte [esp + 0x10], 1
jne 0x402e90
mov eax, dword [esp + 0xa0]
lea ebx, [esi + 1]
cmp byte [ebx + eax - 1], 0x2a
jne 0x402dd0
jmp 0x402edd
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x7c]
cmp byte [ebx + eax - 1], 0x2a
je 0x402edd
jmp 0x402dd0
mov dword [esp + 0x10], ecx
mov cl, 1
test eax, eax
je 0x402efa
push eax
push edx
push dword [esp + 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
mov cl, 1
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x7c]
je 0x402efa
cmp byte [ebx + eax - 1], 0x2a
jne 0x402dd0
mov eax, dword [esp + 0x3c]
mov ecx, esp
dec eax
push eax
push 0
push esi
push eax
push 0
call fcn.0041df70
test eax, eax
jne 0x402dd0
mov cl, 1
mov bl, byte [esp + 0x1e]
cmp cl, bl
je 0x4030a2
call fcn.004228d0
fstp qword [esp + 0xb0]
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0x10], xmm0
push 2
call edi
add esp, 4
movsd xmm0, qword [esp + 0x10]
subsd xmm0, qword [esp + 0xa8]
sub esp, 0x10
movsd qword [esp + 8], xmm0
mov dword [esp], eax
mov dword [esp + 4], str.OKAY___7.3fs__n
call fcn.0040c070
add esp, 0x10
test byte [esp], 1
je 0x402f65
push dword [esp + 8]
call fcn.00416a20
add esp, 4
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402fb1
mov eax, dword [esp + 0x34]
cmp eax, esi
jne 0x402f86
mov eax, esi
jmp 0x402fa4
cmp esi, ebx
mov eax, ebx
je 0x402fa0
test byte [eax - 0xc], 1
lea ebx, [eax - 0xc]
je 0x402f80
push dword [eax - 4]
call fcn.00416a20
add esp, 4
jmp 0x402f80
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], esi
push eax
call fcn.00416a20
add esp, 4
test byte [esp + 0x40], 1
je 0x402fc4
push dword [esp + 0x48]
call fcn.00416a20
add esp, 4
test byte [esp + 0x20], 1
mov esi, dword [esp + 0x80]
je 0x402920
push dword [esp + 0x28]
call fcn.00416a20
add esp, 4
jmp 0x402920
test byte [esp + 0x4c], 1
je 0x402c69
push dword [esp + 0x54]
call fcn.00416a20
add esp, 4
jmp 0x402c69
mov esi, dword [esp + 0x90]
test esi, esi
je 0x403059
mov eax, dword [esp + 0x94]
cmp eax, esi
je 0x403047
mov edi, esi
jmp 0x403026
cmp edi, esi
mov eax, esi
je 0x40303c
test byte [eax - 0xc], 1
lea esi, [eax - 0xc]
je 0x403020
push dword [eax - 4]
call fcn.00416a20
add esp, 4
jmp 0x403020
mov eax, dword [esp + 0x90]
mov esi, edi
jmp 0x403049
mov eax, esi
mov dword [esp + 0x94], esi
push eax
call fcn.00416a20
add esp, 4
test byte [esp + 0x58], 1
je 0x40306c
push dword [esp + 0x60]
call fcn.00416a20
add esp, 4
test byte [esp + 0x68], 1
je 0x40307f
push dword [esp + 0x70]
call fcn.00416a20
add esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x40309a
mov dword [esp + 0x88], eax
push eax
call fcn.00416a20
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call edi
add esp, 4
push str.FAILED_n_n
push eax
call fcn.0040c070
add esp, 8
push 2
call edi
add esp, 4
test byte [esp + 0x20], 1
je 0x40310c
mov ecx, dword [esp + 0x28]
test byte [esp], 1
je 0x4030d7
mov edx, dword [esp + 8]
mov dword [esp + 0x78], edx
push dword [esp + 0x78]
push ecx
push str.Device__s_is__s._n
push eax
call fcn.0040c070
add esp, 0x10
push 2
call edi
add esp, 4
test bl, bl
mov edx, str.requires
mov ecx, str.rejects
cmove ecx, edx
mov edx, dword [esp + 0x30]
test byte [edx], 1
jne 0x403118
inc edx
jmp 0x40311b
lea ecx, [esp + 0x21]
test byte [esp], 1
je 0x4030d7
jmp 0x4030cf
mov edx, dword [edx + 8]
push edx
push ecx
push str.Update__s__s
push eax
call fcn.0040c070
add esp, 0x10
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
add esi, 0xc
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x40315d
lea ecx, [esi + 1]
push ecx
push str._or__s
push eax
call fcn.0040c070
add esp, 0xc
mov ebx, dword [esp + 0x34]
add esi, 0xc
push 2
call edi
add esp, 4
cmp esi, ebx
je 0x40316e
test byte [esi], 1
je 0x403140
mov ecx, dword [esi + 8]
jmp 0x403143
push 0x50cc0b
push eax
call fcn.0040c070
add esp, 8
push str.requirements_not_met_
call fcn.00422910
push 2
call edi
add esp, 4
push str.FAILED_n_n
push eax
call fcn.0040c070
add esp, 8
push 2
call edi
add esp, 4
test byte [esp + 0x20], 1
mov esi, eax
je 0x4031b1
mov ebx, dword [esp + 0x28]
jmp 0x4031b5
lea ebx, [esp + 0x21]
lea edi, [esp + 0x4c]
mov ecx, edi
push dword [0x5364cc]
call fcn.0045ec30
test byte [esp + 0x4c], 1
je 0x4031d3
mov eax, dword [esp + 0x54]
jmp 0x4031d7
lea eax, [esp + 0x4d]
push eax
push ebx
push str.Could_not_getvar_for__s___s__n_n
push esi
call fcn.0040c070
add esp, 0x10
mov ecx, edi
call fcn.0041c510
push str.requirements_not_met_
call fcn.00422910
test byte [esp + 0x4c], 1
je 0x40320b
push dword [esp + 0x54]
call fcn.00416a20
add esp, 4
mov eax, dword [esp + 0x10]
test byte [eax], 1
jne 0x40321a
inc dword [esp + 0x10]
jmp 0x403225
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
push str.device_doesnt_have_required_partition__s_
call fcn.00422910
mov eax, dword [esp + 0x10]
test byte [eax], 1
jne 0x403255
inc dword [esp + 0x10]
jmp 0x403260
push str.could_not_read_android_info.txt
call fcn.00422910
lea ecx, [esp + 0x68]
call fcn.0041bfb0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
push str.device_requires_partition__s_which_is_not_known_to_this_version_of_fastboot
call fcn.00422910
nop