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

Disassembly:
push 0xffffffffffffffff
push 0x47757b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], ecx
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x88], 4
cmp byte [0x49af27], bl
je 0x42cfb8
xor eax, eax
push 0x49f23c
mov byte [0x49af27], bl
mov dword [0x49f23c], eax
mov dword [0x49f240], eax
mov dword [0x49f244], eax
mov dword [0x49f248], eax
mov dword [0x49f24c], eax
mov dword [0x49f250], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.CONNECTION_TYPE_WPD
call fcn.004031a0
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x49f4e4
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f4e4
mov byte [esp + 0x88], 5
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f4e4
mov byte [esp + 0x88], 6
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x90]
mov byte [esp + 0x88], 7
cmp eax, ebx
jne 0x42d037
push 0x80004003
call fcn.004633e0
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov edx, dword [esp + 0x50]
cmp edx, ebx
je 0x42d0f8
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d055
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.004028e0
mov edx, dword [esp + 0x50]
push ecx
mov esi, esp
mov dword [esp + 0x18], esp
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00406330
push esi
mov byte [esp + 0x94], 8
call fcn.00419a30
mov ecx, eax
mov byte [esp + 0x94], 7
call fcn.00416940
lea eax, [esp + 0x18]
push eax
call fcn.00450760
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x8c], 9
call fcn.00404480
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x88], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d0e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x1c]
push 0x24
push esi
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
cmp eax, ebx
jne 0x42d10d
or esi, 0xffffffff
jmp 0x42d113
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x1c]
jle 0x42d1ba
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00407ef0
mov ebp, dword [esp + 0x14]
push ebp
mov byte [esp + 0x8c], 0xa
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], eax
call fcn.00407770
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0xb
call fcn.00404480
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0xa
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d194
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x88], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d1c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42d1c4
push ecx
lea ecx, [esp + 0x40]
call fcn.00404480
push 0xc
call fcn.00472036
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x88], 0xc
cmp eax, ebx
je 0x42d1eb
mov ecx, eax
call fcn.00462600
mov dword [esp + 0x28], eax
jmp 0x42d1ef
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x30]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov byte [esp + 0x94], 7
mov dword [esp + 0x20], eax
call fcn.00401530
mov ecx, dword [esp + 0x34]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00462910
mov esi, eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
cmp esi, ebx
mov byte [esp + 0x88], 0xd
jl 0x42d6a6
mov eax, dword [edi]
mov esi, dword [esp + 0x28]
mov ebp, dword [esi + 4]
cmp dword [eax - 0xc], ebx
jne 0x42d268
mov ecx, dword [esp + 0x30]
push edi
push ecx
mov ecx, esi
call fcn.00462770
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.00462770
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
je 0x42d2f1
jl 0x42d2f1
push str.Card
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, ebx
je 0x42d2f1
sub eax, dword [edi]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jle 0x42d2f1
mov ecx, dword [esp + 0x4c]
push edi
call fcn.00404480
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00407770
push eax
mov ecx, edi
mov byte [esp + 0x8c], 0xe
call fcn.00404480
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d2f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x14]
lea edx, [esp + 0x34]
push edx
push ebp
call eax
cmp eax, ebx
jl 0x42d6a6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x42d6a6
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push str.DEVICE
call fcn.00462bf0
cmp eax, ebx
jl 0x42d6a6
lea eax, [esp + 0x18]
push eax
push 0x483b70
push 1
push ebx
push 0x48b060
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x42d6a6
mov edx, dword [esp + 0x18]
cmp edx, ebx
je 0x42d3ac
mov ecx, dword [edx]
push 0x48b208
push edx
mov edx, dword [ecx + 0x14]
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x48b21c
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x48b1e0
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x48b1f4
push eax
call edx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
xor ebp, ebp
mov dword [esp + 0x44], ebx
cmp eax, ebx
jbe 0x42d570
jmp 0x42d3c4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x88], 0xf
cmp ebp, eax
jae 0x42d526
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + ebp*4]
mov esi, dword [ecx]
lea edi, [esp + 0x24]
push edi
push edx
push eax
push ecx
mov ecx, dword [esi + 0x14]
call ecx
cmp eax, ebx
jne 0x42d4ff
mov edx, dword [0x48b810]
mov eax, dword [0x48b814]
mov ecx, dword [0x48b818]
mov dword [esp + 0x6c], edx
mov edx, dword [0x48b81c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x78], ecx
mov ecx, dword [eax]
push 0x48b208
push eax
mov eax, dword [ecx + 0x70]
call eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], ebx
mov ecx, dword [eax]
push 0x48b21c
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push 0x48b1f4
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x30]
call fcn.004034b0
push str.StorageName
lea ecx, [esp + 0x24]
call fcn.00406330
mov esi, dword [esp + 0x90]
mov byte [esp + 0x88], 0x10
cmp esi, ebx
je 0x42d02d
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, ebx
je 0x42d530
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6c]
push edi
push eax
push esi
call edx
mov esi, dword [esp + 0x68]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x44], ebx
call fcn.00404480
push str._MTP
mov ecx, esi
call fcn.00404640
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x44], ecx
je 0x42d535
inc dword [esp + 0x44]
lea ecx, [esp + 0x20]
call fcn.00401e10
mov eax, dword [esp + 0x24]
mov byte [esp + 0x88], 0xd
cmp eax, ebx
je 0x42d517
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x58]
inc ebp
cmp ebp, eax
jb 0x42d3c0
jmp 0x42d570
push 0x80070057
call fcn.00401120
call fcn.00401460
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
push edx
push str._s____s
push eax
call fcn.00402eb0
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401e10
mov eax, dword [esp + 0x24]
mov byte [esp + 0x88], 0xd
cmp eax, ebx
je 0x42d570
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x88], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d5a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x88], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d5c9
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], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d5f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
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 0x42d619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x42d63a
mov ecx, dword [esp + 0x58]
push ecx
push eax
call fcn.004258d0
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [esp + 0x88], 2
cmp eax, ebx
je 0x42d652
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
mov byte [esp + 0x88], 1
cmp eax, ebx
je 0x42d66a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
mov byte [esp + 0x88], bl
cmp eax, ebx
je 0x42d681
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x88], 0xffffffff
cmp eax, ebx
je 0x42d69f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x42d7de
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x42d6b6
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x88], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d6de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x88], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d703
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], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d72b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
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 0x42d753
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x42d774
mov ecx, dword [esp + 0x58]
push ecx
push eax
call fcn.004258d0
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [esp + 0x88], 2
cmp eax, ebx
je 0x42d78c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
mov byte [esp + 0x88], 1
cmp eax, ebx
je 0x42d7a4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
mov byte [esp + 0x88], bl
cmp eax, ebx
je 0x42d7bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x88], 0xffffffff
cmp eax, ebx
je 0x42d7d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0xa
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.00471f66
add esp, 0x78
ret