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

Disassembly:
push 0xffffffffffffffff
push 0x4793e3
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
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.00406300
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4a643c
mov dword [esp + 0x88], esi
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x40]
call fcn.004106e0
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.00404450
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.00404450
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x4c]
call fcn.00404450
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 0x41fe93
mov eax, dword [esp + 0x14]
push 0x24
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
cmp eax, esi
jne 0x41f9dc
or esi, 0xffffffff
jmp 0x41f9e4
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
mov edx, dword [0x4a643c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a643c
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
xor edi, edi
cmp esi, edi
mov byte [esp + 0x88], 4
jle 0x41faa2
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004083a0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 5
call fcn.00404450
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 0x41fa59
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.00407d30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 6
call fcn.00404450
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 0x41faa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
call fcn.00475e46
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 7
cmp eax, edi
je 0x41fac7
mov ecx, eax
call fcn.00464a40
mov ebx, eax
jmp 0x41fac9
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.004014f0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00465680
mov edx, dword [0x4a643c]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4a643c
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 0x41fde4
mov ecx, dword [ebx + 4]
cmp ecx, edi
je 0x41fde4
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edx + 0x14]
call ecx
cmp eax, edi
jl 0x41fde0
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 0x41fde0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
push ecx
push str.DEVICE
mov ecx, ebx
call fcn.00465960
cmp eax, edi
jl 0x41fde0
lea edx, [esp + 0x1c]
push edx
push 0x4850f0
push 1
push edi
push 0x49285c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x41fde0
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41fbf3
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x492a3c
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x492a50
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x492a00
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x492a14
push eax
call edx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp dword [esp + 0x58], edi
jbe 0x41fde4
nop
mov dword [esp + 0x28], edi
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 0xc
call fcn.004101c0
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [edx - 0xc]
cmp eax, edi
jle 0x41fc54
mov ecx, dword [esi]
cmp ecx, edi
je 0x41fdbd
cmp eax, edi
jl 0x41fdbd
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, edi
je 0x41fdbd
sub eax, dword [esp + 0x30]
sar eax, 1
js 0x41fdbd
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 0x41fdbd
mov ecx, dword [0x492b84]
mov eax, dword [0x492b8c]
mov edx, dword [0x492b88]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x492b90]
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 0x492a3c
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 0x492a50
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 0x492a14
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.00406aa0
test eax, eax
jne 0x41fd2a
mov edx, dword [esp + 0x14]
push 1
push edx
push 0x4850d8
lea eax, [esp + 0x30]
push eax
jmp 0x41fd5f
push str.Phone
lea ecx, [esp + 0x1c]
call fcn.00406aa0
test eax, eax
jne 0x41fd4e
mov ecx, dword [esp + 0x14]
push edi
push ecx
push 0x4850d8
lea edx, [esp + 0x30]
push edx
jmp 0x41fd5f
mov eax, dword [esp + 0x14]
push 2
push eax
push 0x4850d8
lea ecx, [esp + 0x30]
push ecx
call fcn.00402e80
add esp, 0x10
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.00404450
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00404450
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00404450
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.00404450
mov ecx, dword [esp + 0x34]
push 0x64
push 0x8000
lea eax, [esp + 0x48]
push eax
call fcn.0041ea80
lea ecx, [esp + 0x24]
call fcn.004023d0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x88], 0xb
cmp eax, edi
je 0x41fdd5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc ebp
cmp ebp, dword [esp + 0x58]
jb 0x41fc00
mov eax, dword [esp + 0x1c]
cmp ebx, edi
je 0x41fdf6
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 0x41fe0a
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 0x41fe22
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 0x41fe3a
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 0x41fe62
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 0x41ff57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ff57
mov edx, dword [0x4a643c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a643c
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.004014f0
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 0x4850d8
push ecx
call fcn.00402e80
add esp, 0x10
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
call fcn.00404450
mov ecx, dword [esp + 0x34]
push 0x64
push edi
lea eax, [esp + 0x48]
push eax
call fcn.0041ea80
inc esi
cmp esi, 4
jl 0x41fed0
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 0x41ff2d
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 0x41ff55
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 0x41ff78
mov ecx, dword [esp + 0x58]
push ecx
push eax
call fcn.00410c30
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.00410740
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 0x41ffa9
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 0x41ffd4
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.00475d76
add esp, 0x78
ret 8