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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xf
je 0x71b1ca
cmp ebx, 0xd
jne 0x71b1e1
push 0xd
push str.track_devices
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x71b1e1
push 0
jmp 0x71b5cb
push ebx
push str.track_devices_l
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x71b5c9
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 0x14], 9
mov dword [esp + 0x10], str.wait_for_
sub esp, 0x10
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
call fcn.004bac60
add esp, 0x10
test al, al
je 0x71b262
add ebx, 0xfffffff7
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
cmp ebx, 0xfffffff0
jae 0x71babf
cmp ebx, 0xb
jae 0x71b375
mov eax, ebx
add al, bl
mov byte [esp], al
lea esi, [esp + 1]
test ebx, ebx
jne 0x71b39e
jmp 0x71b3ac
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], str.connect:
sub esp, 0x10
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
call fcn.004bac60
add esp, 0x10
test al, al
je 0x71b2e3
add ebx, 0xfffffff8
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
cmp ebx, 0xfffffff0
jae 0x71babf
cmp ebx, 0xb
jae 0x71b5d8
mov eax, ebx
add al, bl
mov byte [esp], al
lea esi, [esp + 1]
test ebx, ebx
jne 0x71b601
jmp 0x71b60f
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], str.pair:
sub esp, 0x10
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
call fcn.004bac60
add esp, 0x10
test al, al
je 0x71b5c2
lea ebx, [edi + 5]
push 0x3a
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
test eax, eax
je 0x71b5c2
mov esi, eax
sub eax, ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
cmp eax, 0xfffffff0
jae 0x71babf
cmp eax, 0xa
ja 0x71b735
add al, al
mov byte [esp], al
lea eax, [esp + 1]
jmp 0x71b764
mov dword [esp + 0x20], edi
mov edi, ebx
or edi, 0xf
lea eax, [edi + 1]
push eax
call fcn.0051c3d0
add esp, 4
mov esi, eax
mov dword [esp + 8], eax
add edi, 2
mov dword [esp], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 4], ebx
add edi, 9
push ebx
push edi
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
lea eax, [ebp + 0x10]
mov ecx, dword [eax + 4]
cmp ecx, 0xfffffff0
jae 0x71bac6
mov ebx, dword [ebp + 0x18]
mov edi, dword [eax]
cmp ecx, 0xb
jae 0x71b3fb
mov eax, ecx
add al, cl
mov byte [esp + 0x10], al
lea esi, [esp + 0x11]
test ecx, ecx
jne 0x71b424
jmp 0x71b433
mov ebx, ecx
or ebx, 0xf
lea eax, [ebx + 1]
push eax
mov esi, ecx
call fcn.0051c3d0
mov ecx, esi
add esp, 4
mov esi, eax
mov dword [esp + 0x18], eax
add ebx, 2
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
push ecx
push edi
push esi
mov edi, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, edi
add esp, 0xc
mov byte [esi + ecx], 0
mov dword [esp + 0x70], 0x71bad0
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x78], xmm0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ebx
lea ecx, [esp + 0x90]
mov eax, esp
push eax
call fcn.0051f860
push 0x38
call fcn.0051c3d0
add esp, 4
mov dword [eax], 0x911aa0
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x18], ecx
movsd xmm0, qword [esp + 0x78]
movsd qword [eax + 0x10], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
movsd xmm0, qword [esp + 0x88]
movsd qword [eax + 0x20], xmm0
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x30], ecx
movsd xmm0, qword [esp + 0x90]
movsd qword [eax + 0x28], xmm0
mov dword [esp + 0x90], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xe0], eax
lea esi, [esp + 0xd0]
lea eax, [esp + 0x24]
push esi
push str.wait
push eax
call fcn.0071ab10
add esp, 0xc
mov ecx, dword [esp + 0xe0]
cmp ecx, esi
je 0x71b53d
test ecx, ecx
je 0x71b54b
mov eax, dword [ecx]
add eax, 0x14
mov esi, ecx
jmp 0x71b547
mov eax, dword [esp + 0xd0]
add eax, 0x10
mov ecx, esi
call dword [eax]
test byte [esp + 0x90], 1
je 0x71b564
push dword [esp + 0x98]
call fcn.0051c570
add esp, 4
test byte [esp + 0x78], 1
je 0x71b57a
push dword [esp + 0x80]
call fcn.0051c570
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call edi
mov ebx, dword [eax]
mov dword [esp + 0x34], esi
call edi
mov dword [eax], ebx
lea eax, [esp + 0x34]
push eax
call fcn.0058f570
add esp, 4
mov esi, eax
call edi
mov ebx, dword [eax]
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x71b5b5
push eax
call fcn.00448c60
add esp, 4
mov dword [esp + 0x34], 0xffffffff
jmp 0x71b70d
xor esi, esi
jmp 0x71b72b
push 1
call fcn.004502e0
add esp, 4
jmp 0x71b72d
mov dword [esp + 0x20], edi
mov edi, ebx
or edi, 0xf
lea eax, [edi + 1]
push eax
call fcn.0051c3d0
add esp, 4
mov esi, eax
mov dword [esp + 8], eax
add edi, 2
mov dword [esp], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 4], ebx
add edi, 8
push ebx
push edi
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x58], 0x71c330
lea ecx, [esp + 0x5c]
mov eax, esp
push eax
call fcn.0051f860
push 0x14
call fcn.0051c3d0
add esp, 4
mov dword [eax], 0x911d4c
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], ecx
movsd xmm0, qword [esp + 0x5c]
movsd qword [eax + 8], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0xc8], eax
lea esi, [esp + 0xb8]
lea eax, [esp + 0x10]
push esi
push 0x9119c7
push eax
call fcn.0071ab10
add esp, 0xc
mov ecx, dword [esp + 0xc8]
cmp ecx, esi
je 0x71b6a9
test ecx, ecx
je 0x71b6b7
mov eax, dword [ecx]
add eax, 0x14
mov esi, ecx
jmp 0x71b6b3
mov eax, dword [esp + 0xb8]
add eax, 0x10
mov ecx, esi
call dword [eax]
test byte [esp + 0x5c], 1
je 0x71b6ca
push dword [esp + 0x64]
call fcn.0051c570
add esp, 4
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call edi
mov ebx, dword [eax]
mov dword [esp + 0x30], esi
call edi
mov dword [eax], ebx
lea eax, [esp + 0x30]
push eax
call fcn.0058f570
add esp, 4
mov esi, eax
call edi
mov ebx, dword [eax]
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x71b705
push eax
call fcn.00448c60
add esp, 4
mov dword [esp + 0x30], 0xffffffff
call edi
mov dword [eax], ebx
call edi
mov ebx, dword [eax]
call edi
mov dword [eax], ebx
test byte [esp], 1
je 0x71b72b
push dword [esp + 8]
call fcn.0051c570
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x20], edi
mov edi, eax
or edi, 0xf
mov dword [esp + 0x28], eax
lea eax, [edi + 1]
push eax
call fcn.0051c3d0
add esp, 4
mov dword [esp + 8], eax
add edi, 2
mov dword [esp], edi
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
cmp ebx, esi
je 0x71b8d0
mov edx, esi
sub edx, edi
add edx, 0xfffffffb
cmp edx, 0x20
jb 0x71b865
mov ecx, eax
sub ecx, edi
add ecx, 0xfffffffb
cmp ecx, 0x20
jb 0x71b865
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edx
lea edi, [edx - 0x20]
mov edx, edi
shr edx, 5
inc edx
mov ecx, edx
and ecx, 3
mov dword [esp + 0x6c], ecx
xor ecx, ecx
cmp edi, 0x60
mov edi, dword [esp + 0x20]
jb 0x71b811
and edx, 0xfffffffc
xor ecx, ecx
movups xmm0, xmmword [edi + ecx + 5]
movups xmm1, xmmword [edi + ecx + 0x15]
movups xmmword [eax + ecx], xmm0
movups xmmword [eax + ecx + 0x10], xmm1
movups xmm0, xmmword [edi + ecx + 0x25]
movups xmm1, xmmword [edi + ecx + 0x35]
movups xmmword [eax + ecx + 0x20], xmm0
movups xmmword [eax + ecx + 0x30], xmm1
movups xmm0, xmmword [edi + ecx + 0x45]
movups xmm1, xmmword [edi + ecx + 0x55]
movups xmmword [eax + ecx + 0x40], xmm0
movups xmmword [eax + ecx + 0x50], xmm1
movups xmm0, xmmword [edi + ecx + 0x65]
movups xmm1, xmmword [edi + ecx + 0x75]
movups xmmword [eax + ecx + 0x60], xmm0
movups xmmword [eax + ecx + 0x70], xmm1
sub ecx, 0xffffff80
add edx, 0xfffffffc
jne 0x71b7ba
mov edx, dword [esp + 0x28]
and edx, 0xffffffe0
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x71b84d
lea edx, [ecx + eax]
add edx, 0x10
add ecx, edi
add ecx, 0x15
shl esi, 5
xor edi, edi
movups xmm0, xmmword [ecx + edi - 0x10]
movups xmm1, xmmword [ecx + edi]
movups xmmword [edx + edi - 0x10], xmm0
movups xmmword [edx + edi], xmm1
add edi, 0x20
cmp esi, edi
jne 0x71b834
mov ecx, dword [esp + 0x68]
add eax, ecx
cmp dword [esp + 0x28], ecx
jne 0x71b85f
mov esi, dword [esp + 0x38]
jmp 0x71b8d0
add ebx, ecx
mov esi, dword [esp + 0x38]
mov edx, esi
sub edx, ebx
mov edi, ebx
not edi
add edi, esi
and edx, 7
je 0x71b88a
nop word cs:[eax + eax]
movzx ecx, byte [ebx]
mov byte [eax], cl
inc ebx
inc eax
dec edx
jne 0x71b880
cmp edi, 7
jb 0x71b8d0
nop
movzx ecx, byte [ebx]
mov byte [eax], cl
movzx ecx, byte [ebx + 1]
mov byte [eax + 1], cl
movzx ecx, byte [ebx + 2]
mov byte [eax + 2], cl
movzx ecx, byte [ebx + 3]
mov byte [eax + 3], cl
movzx ecx, byte [ebx + 4]
mov byte [eax + 4], cl
movzx ecx, byte [ebx + 5]
mov byte [eax + 5], cl
movzx ecx, byte [ebx + 6]
mov byte [eax + 6], cl
movzx ecx, byte [ebx + 7]
mov byte [eax + 7], cl
add ebx, 8
add eax, 8
cmp ebx, esi
jne 0x71b890
mov byte [eax], 0
inc esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x71bac6
mov ebx, eax
cmp eax, 0xb
jae 0x71b917
mov eax, ebx
add al, bl
mov byte [esp + 0x10], al
lea edi, [esp + 0x11]
test ebx, ebx
jne 0x71b943
jmp 0x71b94e
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x20]
or ebx, 0xf
lea eax, [ebx + 1]
push eax
call fcn.0051c3d0
add esp, 4
mov edi, eax
mov dword [esp + 0x18], eax
add ebx, 2
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
push ebx
push esi
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0x71c4a0
lea ecx, [esp + 0x40]
lea eax, [esp + 0x10]
push eax
call fcn.0051f860
lea ecx, [esp + 0x4c]
mov eax, esp
push eax
call fcn.0051f860
push 0x20
call fcn.0051c3d0
add esp, 4
mov dword [eax], 0x91201c
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [eax + 8], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x1c], ecx
movsd xmm0, qword [esp + 0x4c]
movsd qword [eax + 0x14], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0xb0], eax
lea esi, [esp + 0xa0]
lea eax, [esp + 0x24]
push esi
push str.pair
push eax
call fcn.0071ab10
add esp, 0xc
mov ecx, dword [esp + 0xb0]
cmp ecx, esi
je 0x71ba20
test ecx, ecx
je 0x71ba2e
mov eax, dword [ecx]
add eax, 0x14
mov esi, ecx
jmp 0x71ba2a
mov eax, dword [esp + 0xa0]
add eax, 0x10
mov ecx, esi
call dword [eax]
test byte [esp + 0x4c], 1
je 0x71ba41
push dword [esp + 0x54]
call fcn.0051c570
add esp, 4
test byte [esp + 0x40], 1
je 0x71ba54
push dword [esp + 0x48]
call fcn.0051c570
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call edi
mov ebx, dword [eax]
mov dword [esp + 0x2c], esi
call edi
mov dword [eax], ebx
lea eax, [esp + 0x2c]
push eax
call fcn.0058f570
add esp, 4
mov esi, eax
call edi
mov ebx, dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x71ba8f
push eax
call fcn.00448c60
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
call edi
mov dword [eax], ebx
call edi
mov ebx, dword [eax]
call edi
mov dword [eax], ebx
test byte [esp + 0x10], 1
je 0x71b719
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
jmp 0x71b719
mov ecx, esp
call fcn.0051f6b0
lea ecx, [esp + 0x10]
call fcn.0051f6b0
nop
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov word [esp], 0x2d02
mov esi, esp
lea eax, [esp + 0x20]
push esi
push edi
push eax
call fcn.004ba900
add esp, 0xc
test byte [esp], 1
je 0x71bb3a
push dword [esp + 8]
call fcn.0051c570
add esp, 4
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
ja 0x71bb83
mov eax, dword [edx]
mov dword [esp + 0x58], eax
push edi
push str.short_wait_for_:
push esi
call fcn.00523f10
add esp, 0xc
movzx eax, byte [esp]
test al, 1
je 0x71bc46
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x71bc4c
movzx edx, byte [ecx]
mov eax, edx
shr eax, 1
and dl, 1
mov edi, dword [ecx + 4]
mov ebx, edi
cmove ebx, eax
cmp ebx, 5
jne 0x71bbc3
push 5
push 0x9119f6
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bcb1
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx]
mov edi, dword [ecx + 4]
mov edx, eax
and dl, 1
shr eax, 1
test dl, dl
mov ebx, edi
cmove ebx, eax
cmp ebx, 3
jne 0x71bbf8
push 3
push 0x9119fc
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bcbb
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx]
mov edi, dword [ecx + 4]
mov edx, eax
and dl, 1
shr eax, 1
test dl, dl
cmovne eax, edi
cmp eax, 3
jne 0x71bc1a
push 3
push 0x911a00
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bcc5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
push dword [ebp + 0x18]
push str.bad_wait_for__transport:
push esi
call fcn.00523f10
add esp, 0xc
movzx eax, byte [esp]
test al, 1
je 0x71bc6f
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x71bc75
shr eax, 1
lea ecx, [esp + 1]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 4], xmm0
mov eax, dword [esp + 0x64]
jmp 0x71bc93
shr eax, 1
lea ecx, [esp + 1]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 4], xmm0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004465b0
add esp, 0xc
test byte [esp], 1
je 0x71c2d7
push dword [esp + 8]
jmp 0x71c2cf
mov dword [esp + 0x2c], 1
jmp 0x71bccd
mov dword [esp + 0x2c], 0
jmp 0x71bccd
mov dword [esp + 0x2c], 2
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 2
jb 0x71bffb
mov edx, 1
xor edi, edi
jmp 0x71bd3f
mov ecx, esp
lea eax, [esp + 0x10]
push eax
call fcn.0071c6a0
mov edx, dword [esp + 0xc]
inc edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
add edi, 0xc
cmp edx, ecx
jae 0x71bffb
mov dword [esp + 0xc], edx
movzx ebx, byte [eax + edi + 0xc]
mov ecx, ebx
shr ecx, 1
and bl, 1
mov esi, dword [eax + edi + 0x10]
mov edx, esi
cmove edx, ecx
cmp edx, 6
jne 0x71bd8f
lea ecx, [eax + edi]
add ecx, 0xc
push 6
push str.device
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bf17
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + edi + 0xc]
mov esi, dword [eax + edi + 0x10]
mov ebx, ecx
and bl, 1
shr ecx, 1
test bl, bl
mov edx, esi
cmove edx, ecx
cmp edx, 8
jne 0x71bdcd
lea ecx, [eax + edi]
add ecx, 0xc
push 8
push str.recovery
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bf3d
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + edi + 0xc]
mov esi, dword [eax + edi + 0x10]
mov ebx, ecx
and bl, 1
shr ecx, 1
test bl, bl
mov edx, esi
cmove edx, ecx
cmp edx, 6
jne 0x71be0b
lea ecx, [eax + edi]
add ecx, 0xc
push 6
push str.rescue
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bf63
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + edi + 0xc]
mov esi, dword [eax + edi + 0x10]
mov ebx, ecx
and bl, 1
shr ecx, 1
test bl, bl
mov edx, esi
cmove edx, ecx
cmp edx, 8
jne 0x71be49
lea ecx, [eax + edi]
add ecx, 0xc
push 8
push str.sideload
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bf89
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + edi + 0xc]
mov esi, dword [eax + edi + 0x10]
mov ebx, ecx
and bl, 1
shr ecx, 1
test bl, bl
mov edx, esi
cmove edx, ecx
cmp edx, 0xa
jne 0x71be87
lea ecx, [eax + edi]
add ecx, 0xc
push 0xa
push str.bootloader
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bfaf
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + edi + 0xc]
mov esi, dword [eax + edi + 0x10]
mov ebx, ecx
and bl, 1
shr ecx, 1
test bl, bl
mov edx, esi
cmove edx, ecx
cmp edx, 3
jne 0x71bec5
lea ecx, [eax + edi]
add ecx, 0xc
push 3
push 0x911a00
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
je 0x71bfd5
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + edi + 0xc]
mov esi, dword [eax + edi + 0x10]
mov ebx, ecx
and bl, 1
shr ecx, 1
test bl, bl
cmovne ecx, esi
cmp ecx, 0xa
jne 0x71c253
lea ecx, [eax + edi]
add ecx, 0xc
push 0xa
push str.disconnect
push 0xffffffffffffffff
push 0
call fcn.00521750
test eax, eax
jne 0x71c253
mov dword [esp + 0x10], 5
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x71bd10
mov dword [eax], 5
add dword [esp + 4], 4
jmp 0x71bd1c
mov dword [esp + 0x10], 7
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x71bd10
mov dword [eax], 7
add dword [esp + 4], 4
jmp 0x71bd1c
mov dword [esp + 0x10], 9
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x71bd10
mov dword [eax], 9
add dword [esp + 4], 4
jmp 0x71bd1c
mov dword [esp + 0x10], 0xb
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x71bd10
mov dword [eax], 0xb
add dword [esp + 4], 4
jmp 0x71bd1c
mov dword [esp + 0x10], 0xa
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x71bd10
mov dword [eax], 0xa
add dword [esp + 4], 4
jmp 0x71bd1c
mov dword [esp + 0x10], 6
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x71bd10
mov dword [eax], 6
add dword [esp + 4], 4
jmp 0x71bd1c
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x71bd10
mov dword [eax], 0xffffffff
add dword [esp + 4], 4
jmp 0x71bd1c
mov edi, dword [ebp + 0xc]
lea eax, [edi + 1]
mov dword [esp + 0x30], eax
jmp 0x71c018
test esi, esi
jne 0x71c2c3
mov byte [esp + 0x1f], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push 0x10
call fcn.0051c3d0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x11
mov dword [esp + 0x14], 0xd
mov word [eax + 0xc], 0x72
mov dword [eax + 8], 0x6f727265
mov dword [eax + 4], 0x206e776f
mov dword [eax], 0x6e6b6e75
movzx eax, byte [edi]
test al, 1
je 0x71c090
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x71c098
mov ecx, dword [esp + 0x30]
test al, 1
je 0x71c09a
mov ecx, dword [edi + 8]
jmp 0x71c09a
mov ecx, eax
shr ecx, 1
test ecx, ecx
jne 0x71c07b
xor ecx, ecx
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x27]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
push dword [esp + 0x44]
call fcn.00452390
add esp, 0x1c
mov esi, eax
mov ebx, dword [esp]
mov eax, dword [esp + 4]
cmp ebx, eax
je 0x71c130
mov dword [esp + 0xc], eax
jmp 0x71c0d7
add ebx, 4
cmp ebx, eax
je 0x71c130
mov edi, dword [ebx]
cmp edi, 5
jne 0x71c100
test esi, esi
je 0x71c1cd
cmp dword [esi + 0xcc], 0
jne 0x71c0d0
jmp 0x71c1dc
test esi, esi
je 0x71c0d0
cmp edi, 0xffffffff
je 0x71c118
mov ecx, esi
call fcn.00452830
cmp edi, eax
mov eax, dword [esp + 0xc]
jne 0x71c0d0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
jmp 0x71c1e9
cmp byte [esp + 0x1f], 0
je 0x71c160
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
movzx eax, byte [esp + 0x10]
test al, 1
je 0x71c1a7
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x71c1ad
mov dword [esp + 0x3c], 0x300
mov dword [esp + 0x38], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [esp + 0x38], eax
push 0x64
push 1
lea eax, [esp + 0x40]
push eax
call fcn.00471360
add esp, 0xc
test eax, eax
je 0x71c1fc
mov eax, dword [esi]
mov dword [esp + 0x34], eax
movzx eax, byte [esp + 0x10]
test al, 1
je 0x71c203
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x71c209
shr eax, 1
lea ecx, [esp + 0x11]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 4], xmm0
mov eax, dword [esp + 0x4c]
jmp 0x71c227
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
jmp 0x71c1e9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
push eax
call fcn.004462d0
add esp, 4
mov esi, 1
mov edi, dword [ebp + 0xc]
jmp 0x71c237
xor esi, esi
mov edi, dword [ebp + 0xc]
jmp 0x71c237
shr eax, 1
lea ecx, [esp + 0x11]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 4], xmm0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004465b0
add esp, 0xc
mov esi, 1
test byte [esp + 0x10], 1
je 0x71c010
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
jmp 0x71c010
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
push dword [ebp + 0x18]
push str.bad_wait_for__state:
lea eax, [esp + 0x18]
push eax
call fcn.00523f10
add esp, 0xc
movzx eax, byte [esp + 0x10]
test al, 1
je 0x71c284
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x71c28a
shr eax, 1
lea ecx, [esp + 0x11]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 4], xmm0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004465b0
add esp, 0xc
test byte [esp + 0x10], 1
je 0x71c2c3
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
mov eax, dword [esp]
test eax, eax
je 0x71c2d7
mov dword [esp + 4], eax
push eax
call fcn.0051c570
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x71c31d
mov eax, dword [esp + 0x24]
mov ecx, esi
cmp eax, esi
jne 0x71c2f6
jmp 0x71c310
mov eax, edi
cmp edi, esi
je 0x71c30c
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x71c2f0
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x71c2f0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], esi
push ecx
call fcn.0051c570
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret