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

Disassembly:
push 0xffffffffffffffff
push 0x476fc3
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
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.004062c0
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4a440c
mov dword [esp + 0x88], esi
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x40]
call fcn.0040f5c0
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.00404410
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.00404410
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x4c]
call fcn.00404410
mov edi, dword [esp + 0x94]
push edi
push str.CDeviceDetect::UpdateWPD
push str._s____dwStatus___d
call fcn.00403120
add esp, 0xc
cmp edi, 0x8000
jne 0x41e9c3
mov eax, dword [esp + 0x14]
push 0x24
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
cmp eax, esi
jne 0x41e50c
or esi, 0xffffffff
jmp 0x41e514
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
xor edi, edi
cmp esi, edi
mov byte [esp + 0x88], 4
jle 0x41e5d2
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004081d0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 5
call fcn.00404410
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 0x41e589
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.00407aa0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 6
call fcn.00404410
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 0x41e5d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
call fcn.00473d5a
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 7
cmp eax, edi
je 0x41e5f7
mov ecx, eax
call fcn.00462c40
mov ebx, eax
jmp 0x41e5f9
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.00401510
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.004636f0
mov edx, dword [0x4a440c]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
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 0x41e914
mov ecx, dword [ebx + 4]
cmp ecx, edi
je 0x41e914
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edx + 0x14]
call ecx
cmp eax, edi
jl 0x41e910
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 0x41e910
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
push ecx
push str.DEVICE
mov ecx, ebx
call fcn.004639d0
cmp eax, edi
jl 0x41e910
lea edx, [esp + 0x1c]
push edx
push 0x482dd8
push 1
push edi
push 0x49040c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x41e910
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41e723
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x4905ec
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x490600
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x4905b0
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x4905c4
push eax
call edx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp dword [esp + 0x58], edi
jbe 0x41e914
nop
mov dword [esp + 0x28], edi
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 0xc
call fcn.0040f090
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [edx - 0xc]
cmp eax, edi
jle 0x41e784
mov ecx, dword [esi]
cmp ecx, edi
je 0x41e8ed
cmp eax, edi
jl 0x41e8ed
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, edi
je 0x41e8ed
sub eax, dword [esp + 0x30]
sar eax, 1
js 0x41e8ed
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 0x41e8ed
mov ecx, dword [0x4906d0]
mov eax, dword [0x4906d8]
mov edx, dword [0x4906d4]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x4906dc]
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 0x4905ec
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 0x490600
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 0x4905c4
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403430
lea ecx, [esp + 0x24]
call fcn.004023a0
push str.Card
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xd
call fcn.00406910
test eax, eax
jne 0x41e85a
mov edx, dword [esp + 0x14]
push 1
push edx
push 0x482dc0
lea eax, [esp + 0x30]
push eax
jmp 0x41e88f
push str.Phone
lea ecx, [esp + 0x1c]
call fcn.00406910
test eax, eax
jne 0x41e87e
mov ecx, dword [esp + 0x14]
push edi
push ecx
push 0x482dc0
lea edx, [esp + 0x30]
push edx
jmp 0x41e88f
mov eax, dword [esp + 0x14]
push 2
push eax
push 0x482dc0
lea ecx, [esp + 0x30]
push ecx
call fcn.00402e30
add esp, 0x10
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.00404410
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00404410
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00404410
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.00404410
mov ecx, dword [esp + 0x34]
push 0x64
push 0x8000
lea eax, [esp + 0x48]
push eax
call fcn.0041d460
lea ecx, [esp + 0x24]
call fcn.00401df0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x88], 0xb
cmp eax, edi
je 0x41e905
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc ebp
cmp ebp, dword [esp + 0x58]
jb 0x41e730
mov eax, dword [esp + 0x1c]
cmp ebx, edi
je 0x41e926
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 0x41e93a
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 0x41e952
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 0x41e96a
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 0x41e992
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 0x41ea87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ea87
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
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.00401510
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 0x482dc0
push ecx
call fcn.00402e30
add esp, 0x10
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
call fcn.00404410
mov ecx, dword [esp + 0x34]
push 0x64
push edi
lea eax, [esp + 0x48]
push eax
call fcn.0041d460
inc esi
cmp esi, 4
jl 0x41ea00
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 0x41ea5d
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 0x41ea85
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 0x41eaa8
mov ecx, dword [esp + 0x58]
push ecx
push eax
call fcn.0040fad0
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0040f620
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 0x41ead9
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 0x41eb04
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.00473c8a
add esp, 0x78
ret 8