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

Disassembly:
push 0xffffffffffffffff
push 0x4490b6
mov eax, dword fs:[0]
push eax
mov eax, 0x1844
call fcn.00434bf0
mov eax, dword [0x460cd0]
xor eax, esp
mov dword [esp + 0x1840], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460cd0]
xor eax, esp
push eax
lea eax, [esp + 0x1858]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1868]
xor ebx, ebx
mov esi, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1860], ebx
mov byte [eax], bl
mov eax, dword [esp + 0x186c]
sub eax, ebx
mov dword [esp + 0x14], 0xd
je 0x4132ca
sub eax, 1
je 0x4132b1
sub eax, 1
jne 0x4132e9
push 0x3ff
push str.Driver
push 0x400
lea edx, [esp + 0x1060]
push edx
jmp 0x4132e1
push 0x3ff
push str.Driver_Name
push 0x400
lea eax, [esp + 0x1060]
push eax
jmp 0x4132e1
push 0x3ff
push str.Driver
push 0x400
lea ecx, [esp + 0x1060]
push ecx
call fcn.0042f011
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
xor edx, edx
mov ecx, esi
call fcn.00416500
add esp, 4
test eax, eax
jne 0x4135c8
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
cmp edi, esi
jbe 0x413317
call fcn.0042f9ef
mov esi, dword [esp + 0x24]
mov ebp, edi
lea esp, [esp]
cmp dword [esp + 0x20], esi
mov edi, esi
jbe 0x413331
call fcn.0042f9ef
mov esi, dword [esp + 0x24]
cmp ebp, edi
je 0x4135c8
push 0x800
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.00430500
add esp, 0xc
push 0x800
lea ecx, [esp + 0x858]
push ebx
push ecx
call fcn.00430500
add esp, 0xc
cmp ebp, esi
jb 0x41336b
call fcn.0042f9ef
cmp dword [ebp + 0x18], 8
lea esi, [ebp + 4]
jb 0x413378
mov eax, dword [esi]
jmp 0x41337a
mov eax, esi
push 0x3ff
push eax
lea edx, [esp + 0x5c]
push 0x400
push edx
call fcn.0042f011
mov edi, dword [esp + 0x40]
push 1
push 0x800
lea eax, [esp + 0x86c]
push eax
lea ecx, [esp + 0x1070]
push ecx
push edi
lea edx, [esp + 0x78]
call fcn.0041ad70
add esp, 0x24
test eax, eax
jne 0x413585
lea eax, [esp + 0x854]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4133d0
sub eax, edx
sar eax, 1
je 0x4135af
mov eax, dword [esp + 0x186c]
sub eax, ebx
je 0x413467
sub eax, 1
je 0x413438
sub eax, 1
jne 0x4134c5
push 4
push 4
lea edx, [esp + 0x1c]
push edx
push str.InstallStatus
push edi
lea edx, [esp + 0x68]
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x4134c5
cmp dword [esp + 0x14], 1
jne 0x4134c5
mov eax, dword [esp + 0x18]
mov byte [eax], 1
jmp 0x4134d1
push 4
push 4
lea ecx, [esp + 0x1c]
push ecx
push str.InstallNow
push edi
lea edx, [esp + 0x68]
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x4134c5
cmp dword [esp + 0x14], 2
jne 0x4134c5
mov edx, dword [esp + 0x18]
mov byte [edx], 1
jmp 0x4134d1
push 4
push 4
lea eax, [esp + 0x1c]
push eax
push str.InstallStatus
push edi
lea edx, [esp + 0x68]
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x4134c5
cmp dword [esp + 0x14], 1
jne 0x413496
mov ecx, dword [esp + 0x18]
mov byte [ecx], 1
jmp 0x4134d1
push 4
push 4
lea edx, [esp + 0x1c]
push edx
push str.Installed
push edi
lea edx, [esp + 0x68]
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x4134c5
cmp dword [esp + 0x14], 1
jne 0x4134c5
mov eax, dword [esp + 0x18]
mov byte [eax], 1
jmp 0x4134d1
mov ecx, dword [esp + 0x18]
cmp byte [ecx], bl
je 0x4135af
cmp ebp, dword [esp + 0x24]
jb 0x4134dc
call fcn.0042f9ef
cmp dword [ebp + 0x18], 8
jb 0x4134e6
mov eax, dword [esi]
jmp 0x4134e8
mov eax, esi
lea edx, [esp + 0x854]
push edx
push eax
push str.__s___have___s_driver
mov ecx, 0x466338
call fcn.0041a690
mov edi, 7
lea eax, [esp + 0x860]
add esp, 0xc
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413520
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x858]
push eax
lea esi, [esp + 0x40]
call fcn.0040b1d0
mov byte [esp + 0x1860], 1
mov ecx, esi
mov esi, dword [esp + 0x34]
push ecx
add esi, 0x380c
call fcn.00415fb0
mov byte [esp + 0x1860], bl
cmp dword [esp + 0x50], 8
jb 0x413576
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041e7a3
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jmp 0x4135af
cmp ebp, dword [esp + 0x24]
jb 0x413590
call fcn.0042f9ef
cmp dword [ebp + 0x18], 8
jb 0x41359a
mov eax, dword [esi]
jmp 0x41359c
mov eax, esi
push eax
push str.__s___dont_have_Driver_Name..
mov ecx, 0x466338
call fcn.0041a690
add esp, 8
mov esi, dword [esp + 0x24]
cmp ebp, esi
jb 0x4135c0
call fcn.0042f9ef
mov esi, dword [esp + 0x24]
add ebp, 0x1c
jmp 0x413320
mov dword [esp + 0x1860], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4135f9
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push ecx
call fcn.00409db0
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.0041e7a3
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x1858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1840]
xor ecx, esp
call fcn.0042f002
add esp, 0x1850
ret 8