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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0x14], ecx
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0x1c], edx
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x410106
mov ebx, eax
cmp eax, 0xb
jae 0x40fd40
mov eax, ebx
add al, bl
mov byte [esp], al
lea edi, [esp + 1]
test ebx, ebx
jne 0x40fd61
jmp 0x40fd6f
mov esi, ebx
or esi, 0xf
lea eax, [esi + 1]
push eax
call fcn.00420210
add esp, 4
mov edi, eax
mov dword [esp + 8], eax
add esi, 2
mov dword [esp], esi
mov dword [esp + 4], ebx
push ebx
push dword [esp + 0x20]
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
mov edi, esp
lea eax, [esp + 0x20]
push edi
push eax
call fcn.004019e0
add esp, 8
test byte [esp], 1
je 0x40fd95
push dword [esp + 8]
call fcn.004203b0
add esp, 4
movzx ebx, byte [ebp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [eax], 0
lea esi, [esp + 0x50]
jmp 0x40fdca
xor ebx, ebx
mov dword [esp + 4], 0
mov dword [esp], 0x3b9aca00
push edi
call fcn.00482210
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, 1
je 0x40fe30
test eax, eax
jne 0x4100f2
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x40ff2b
xor esi, esi
test eax, eax
jne 0x40ff4c
push edi
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00497730
jmp 0x40ff3f
cmp dword [esp + 0x2c], 1
jne 0x40fe90
mov dword [esp + 0x50], 0x579b78
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], esi
push 0
push esi
push edi
call fcn.00482d20
add esp, 0xc
mov edx, esi
mov esi, dword [esp]
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov dword [esp], 0
mov ecx, dword [esp + 0x60]
cmp ecx, edx
je 0x40ff7e
test ecx, ecx
je 0x40ff90
mov eax, dword [ecx]
add eax, 0x14
jmp 0x40ff87
mov byte [esp + 0x38], 0
mov dword [esp + 0x4c], 0xffffffff
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call dword [0x579b6c]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x4100f7
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x6c]
lea eax, [esp + 0x3c]
push eax
call fcn.00423570
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
test byte [esp + 0x6c], 1
je 0x40fef2
push dword [esp + 0x74]
call fcn.004203b0
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x40ff1f
mov ecx, dword [0x579b64]
mov dword [esp + 4], ecx
mov ecx, dword [0x579b60]
mov dword [esp], ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
push ecx
call dword [esp + eax*4 + 8]
add esp, 8
mov dword [esp + 0x4c], 0xffffffff
xor esi, esi
jmp 0x40ff90
push edi
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004982e0
add esp, 0x10
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [eax], esi
test esi, esi
jne 0x40ff6a
mov eax, ebx
and al, 1
je 0x40ff6a
push 0
push 4
call fcn.0047bc50
add esp, 8
test al, al
jne 0x410047
test byte [esp], 1
je 0x40ff90
push dword [esp + 8]
call fcn.004203b0
add esp, 4
jmp 0x40ff90
mov eax, dword [esp + 0x50]
add eax, 0x10
mov ecx, edx
call dword [eax]
nop dword [eax]
test esi, esi
jne 0x4100b9
cmp byte [ebp + 8], 0
je 0x4100b9
test bl, 1
lea esi, [esp + 0x50]
je 0x40fdb2
push 0
push 4
call fcn.0047bc50
add esp, 8
test al, al
je 0x40fdb0
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call eax
mov esi, dword [eax]
sub esp, 0x14
movaps xmm0, xmmword [0x578250]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_core_fastboot_fastboot.cpp
mov ecx, edi
call fcn.0047bcb0
mov ecx, edi
call fcn.0047bc80
push 0xe
push str.__waiting_for
push eax
call fcn.00414a40
add esp, 0xc
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x1c]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push ebx
push dword [esp + 0x20]
call fcn.00414a40
add esp, 0xc
push 1
push 0x579b5e
push eax
call fcn.00414a40
add esp, 0xc
mov ecx, edi
call fcn.0047bd80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], esi
lea esi, [esp + 0x50]
jmp 0x40fdb0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
sub esp, 0x14
movaps xmm0, xmmword [0x578240]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_core_fastboot_fastboot.cpp
lea ecx, [esp + 0x24]
call fcn.0047bcb0
lea ecx, [esp + 0x10]
call fcn.0047bc80
push 7
push str.error:
push eax
call fcn.00414a40
add esp, 0xc
push edi
push eax
call fcn.004127b0
add esp, 8
lea ecx, [esp + 0x10]
call fcn.0047bd80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
test byte [esp], 1
jne 0x40ff70
jmp 0x40ff90
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x4100e6
mov ecx, dword [0x579b64]
mov dword [esp + 4], ecx
mov ecx, dword [0x579b60]
mov dword [esp], ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
push ecx
call dword [esp + eax*4 + 8]
add esp, 8
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00413940
lea ecx, [esp + 0x38]
call fcn.00413980
push eax
call fcn.00428710
mov ecx, esp
call fcn.00423320
nop dword [eax]