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

Disassembly:
push 0xffffffffffffffff
push 0x468239
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x480250]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
xor ebx, ebx
cmp byte [eax + 0x42], bl
jne 0x421552
push str.Connection_detection_is_disabled
call fcn.004167d0
add esp, 4
jmp 0x4217fd
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.004225f0
test eax, eax
jbe 0x4217fd
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x42158e
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x421593
call fcn.0044e7bc
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x4215a5
mov esi, dword [eax + 4]
jmp 0x4215a8
lea esi, [eax + 4]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x3c], esp
mov byte [ecx + 4], bl
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4215c3
sub eax, edi
push eax
push esi
call fcn.004028a0
call fcn.00421830
cmp al, bl
jne 0x4217db
lea eax, [esp + 0x5c]
push eax
call fcn.004219e0
push 0x1e4
mov dword [esp + 0xa4], ebx
call fcn.0044e628
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0xa0], 1
je 0x42161a
push eax
call fcn.004086f0
mov edi, eax
jmp 0x42161c
xor edi, edi
mov byte [esp + 0xa0], bl
push 0xd
mov esi, 0xf
push str.BUS_NAME:USB
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004028a0
sub esp, 0x1c
mov byte [esp + 0xbc], 2
mov ecx, esp
mov dword [esp + 0x3c], esp
push 3
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x46db90
mov byte [ecx + 4], bl
call fcn.004028a0
push ecx
mov byte [esp + 0xc0], 3
call fcn.00412070
add esp, 4
lea edx, [esp + 0x40]
mov ecx, eax
mov byte [esp + 0xbc], 2
call fcn.004120f0
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x48]
mov byte [esp + 0xa8], 4
call fcn.0040d1a0
mov esi, 0x10
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x3c], esi
jb 0x4216c4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x4216d2
lea eax, [esp + 0x44]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x421701
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x421706
call fcn.0044e7bc
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], esi
jb 0x421717
mov eax, dword [eax + 4]
jmp 0x42171a
add eax, 4
push eax
mov ecx, edi
call fcn.0040b9a0
cmp dword [esp + 0x74], esi
mov eax, dword [esp + 0x60]
jae 0x421730
lea eax, [esp + 0x60]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov esi, 0xf
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
mov byte [esp + 0xa4], 5
call fcn.0040ed80
mov edi, 0x10
cmp dword [esp + 0x90], edi
jb 0x421780
mov edx, dword [esp + 0x7c]
push edx
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x4217a5
mov eax, dword [esp + 0x44]
push eax
call fcn.0044e982
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x74], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x4217cf
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0044e982
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov esi, dword [esp + 0x1c]
add dword [esp + 0x18], 0x8c
add esi, 1
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.004225f0
cmp esi, eax
jb 0x421569
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0044e7cc
add esp, 0x90
ret 8