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

Disassembly:
push 0xffffffffffffffff
push 0x479bd3
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00406310
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4a743c
mov dword [esp + 0x88], esi
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x40]
call fcn.00410d80
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
lea eax, [esp + 0x14]
mov ebx, 0xf
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 3
mov dword [esp + 0x54], ebx
call fcn.00404460
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.00404460
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x4c]
call fcn.00404460
mov edi, dword [esp + 0x94]
push edi
push str.CDeviceDetect::UpdateWPD
push str._s____dwStatus___d
call fcn.00403170
add esp, 0xc
cmp edi, 0x8000
jne 0x4209e3
mov eax, dword [esp + 0x14]
push 0x24
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
cmp eax, esi
jne 0x42052c
or esi, 0xffffffff
jmp 0x420534
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
xor edi, edi
cmp esi, edi
mov byte [esp + 0x88], 4
jle 0x4205f2
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004085c0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 5
call fcn.00404460
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x88], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4205a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407d60
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 6
call fcn.00404460
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x88], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4205f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
call fcn.004765c6
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 7
cmp eax, edi
je 0x420617
mov ecx, eax
call fcn.004651c0
mov ebx, eax
jmp 0x420619
xor ebx, ebx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x94], 4
call fcn.00401520
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00465e00
mov edx, dword [0x4a743c]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], edi
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, edi
mov byte [esp + 0x88], 0xb
jl 0x420934
mov ecx, dword [ebx + 4]
cmp ecx, edi
je 0x420934
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edx + 0x14]
call ecx
cmp eax, edi
jl 0x420930
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x20]
push ecx
push eax
call edx
cmp eax, edi
jl 0x420930
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
push ecx
push str.DEVICE
mov ecx, ebx
call fcn.004660e0
cmp eax, edi
jl 0x420930
lea edx, [esp + 0x1c]
push edx
push 0x486360
push 1
push edi
push 0x493bdc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x420930
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x420743
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x493dbc
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x493dd0
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x493d80
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x493d94
push eax
call edx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp dword [esp + 0x58], edi
jbe 0x420934
nop
mov dword [esp + 0x28], edi
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 0xc
call fcn.00410870
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [edx - 0xc]
cmp eax, edi
jle 0x4207a4
mov ecx, dword [esi]
cmp ecx, edi
je 0x42090d
cmp eax, edi
jl 0x42090d
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, edi
je 0x42090d
sub eax, dword [esp + 0x30]
sar eax, 1
js 0x42090d
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
lea esi, [esp + 0x28]
push esi
mov esi, dword [esp + 0x20]
push esi
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
cmp eax, edi
jne 0x42090d
mov ecx, dword [0x493f04]
mov eax, dword [0x493f0c]
mov edx, dword [0x493f08]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x493f10]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x74], edx
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
push 0x493dbc
push eax
call edx
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x6c], edi
mov ecx, dword [eax]
push 0x493dd0
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], edi
mov ecx, dword [eax]
push 0x493d94
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403480
lea ecx, [esp + 0x24]
call fcn.004023f0
push str.Card
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xd
call fcn.00406ad0
test eax, eax
jne 0x42087a
mov edx, dword [esp + 0x14]
push 1
push edx
push 0x486348
lea eax, [esp + 0x30]
push eax
jmp 0x4208af
push str.Phone
lea ecx, [esp + 0x1c]
call fcn.00406ad0
test eax, eax
jne 0x42089e
mov ecx, dword [esp + 0x14]
push edi
push ecx
push 0x486348
lea edx, [esp + 0x30]
push edx
jmp 0x4208af
mov eax, dword [esp + 0x14]
push 2
push eax
push 0x486348
lea ecx, [esp + 0x30]
push ecx
call fcn.00402e80
add esp, 0x10
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.00404460
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00404460
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00404460
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.00404460
mov ecx, dword [esp + 0x34]
push 0x64
push 0x8000
lea eax, [esp + 0x48]
push eax
call fcn.0041f5d0
lea ecx, [esp + 0x24]
call fcn.00450df0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x88], 0xb
cmp eax, edi
je 0x420925
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc ebp
cmp ebp, dword [esp + 0x58]
jb 0x420750
mov eax, dword [esp + 0x1c]
cmp ebx, edi
je 0x420946
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x88], 0xa
cmp eax, edi
je 0x42095a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x88], 9
cmp eax, edi
je 0x420972
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x88], 8
cmp eax, edi
je 0x42098a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x88], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4209b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x88], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420aa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x420aa7
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x8c], 0xe
call fcn.00401520
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x64], ebp
mov byte [esp + 0x88], bl
push esi
push ebp
lea ecx, [esp + 0x28]
push 0x486348
push ecx
call fcn.00402e80
add esp, 0x10
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
call fcn.00404460
mov ecx, dword [esp + 0x34]
push 0x64
push edi
lea eax, [esp + 0x48]
push eax
call fcn.0041f5d0
inc esi
cmp esi, 4
jl 0x420a20
lea eax, [ebp - 0x10]
mov byte [esp + 0x88], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x88], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420aa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x420ac8
mov ecx, dword [esp + 0x58]
push ecx
push eax
call fcn.00411240
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.00410de0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420af9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x88], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004764f6
add esp, 0x78
ret 8