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

Disassembly:
push 0xffffffffffffffff
push 0x476383
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x49eef8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], esi
call fcn.004062a0
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x49f474
mov dword [esp + 0x88], ebx
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x4c]
call fcn.0040e480
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], 3
mov dword [esp + 0x60], 0x11
call fcn.004043f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x54]
call fcn.004043f0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
call fcn.004043f0
mov eax, dword [esp + 0x94]
cmp eax, 0x8000
jne 0x41b49d
mov eax, dword [esp + 0x14]
push 0x24
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
cmp eax, ebx
jne 0x41afe9
or esi, 0xffffffff
jmp 0x41aff1
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
cmp esi, ebx
mov byte [esp + 0x88], 4
jle 0x41b0ad
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00407e00
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 5
call fcn.004043f0
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 0x41b064
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.00407680
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 6
call fcn.004043f0
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 0x41b0ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
call fcn.00472146
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 7
cmp eax, ebx
je 0x41b0d2
mov ecx, eax
call fcn.00462710
mov ebp, eax
jmp 0x41b0d4
xor ebp, ebp
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
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, ebp
mov dword [esi], eax
call fcn.00462a20
mov edx, dword [0x49f474]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, ebx
mov byte [esp + 0x88], 0xb
jl 0x41b3f4
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x41b3f4
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [edx + 0x14]
call ecx
cmp eax, ebx
jl 0x41b3f0
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x30]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x41b3f0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
push ecx
push str.DEVICE
mov ecx, ebp
call fcn.00462d00
cmp eax, ebx
jl 0x41b3f0
lea edx, [esp + 0x1c]
push edx
push 0x481700
push 1
push ebx
push 0x48b1d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x41b3f0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41b1fe
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x48b378
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x48b38c
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x48b350
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x48b364
push eax
call edx
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp dword [esp + 0x40], ebx
jbe 0x41b3f4
lea ebx, [ebx]
mov dword [esp + 0x24], ebx
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0xc
call fcn.0040e050
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x41b264
mov ecx, dword [esi]
cmp ecx, ebx
je 0x41b3cd
cmp eax, ebx
jl 0x41b3cd
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, ebx
je 0x41b3cd
sub eax, dword [esp + 0x2c]
sar eax, 1
js 0x41b3cd
mov eax, dword [esi]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
lea esi, [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
push esi
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
cmp eax, ebx
jne 0x41b3cd
mov ecx, dword [0x48b448]
mov eax, dword [0x48b450]
mov edx, dword [0x48b44c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x48b454]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x74], edx
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
push 0x48b378
push eax
call edx
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], ebx
mov ecx, dword [eax]
push 0x48b38c
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax]
push 0x48b364
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403410
lea ecx, [esp + 0x20]
call fcn.00402380
push str.Card
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xd
call fcn.004068d0
test eax, eax
jne 0x41b33a
mov edx, dword [esp + 0x14]
push 1
push edx
push 0x4816e8
lea eax, [esp + 0x2c]
push eax
jmp 0x41b36f
push str.Phone
lea ecx, [esp + 0x1c]
call fcn.004068d0
test eax, eax
jne 0x41b35e
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push 0x4816e8
lea edx, [esp + 0x2c]
push edx
jmp 0x41b36f
mov eax, dword [esp + 0x14]
push 2
push eax
push 0x4816e8
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402e10
add esp, 0x10
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
call fcn.004043f0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
call fcn.004043f0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x58]
call fcn.004043f0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x5c]
call fcn.004043f0
mov ecx, dword [esp + 0x60]
push 0x64
push 0x8000
lea eax, [esp + 0x54]
push eax
call fcn.0041a330
lea ecx, [esp + 0x20]
call fcn.00401e00
mov eax, dword [esp + 0x24]
mov byte [esp + 0x88], 0xb
cmp eax, ebx
je 0x41b3e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
cmp edi, dword [esp + 0x40]
jb 0x41b210
mov eax, dword [esp + 0x1c]
cmp ebp, ebx
je 0x41b407
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x88], 0xa
cmp eax, ebx
je 0x41b41b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
mov byte [esp + 0x88], 9
cmp eax, ebx
je 0x41b433
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov byte [esp + 0x88], 8
cmp eax, ebx
je 0x41b44b
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 0x41b473
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
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 0x41b4ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41b4ac
push 0x64
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.0041a330
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x41b4cd
mov edx, dword [esp + 0x40]
push edx
push eax
call fcn.0040e8d0
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.0040e4e0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x88], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b4fd
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 0x41b528
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.00472076
add esp, 0x78
ret 8