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

Disassembly:
push 0xffffffffffffffff
push 0x44b4ea
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x45e520]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e520]
xor eax, esp
push eax
lea eax, [esp + 0x2ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x304]
mov ebp, dword [esp + 0x300]
xor ebx, ebx
push 0x103
lea edx, [esp + 0x1e1]
push ebx
push edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov byte [esp + 0x1e8], bl
call fcn.00436440
mov esi, dword [esp + 0x308]
lea eax, [esp + 0x1e8]
mov ecx, eax
add esp, 0xc
xor edi, edi
mov edx, 0x104
sub esi, ecx
nop
mov cl, byte [esi + eax]
cmp cl, bl
je 0x40a393
mov byte [eax], cl
add eax, 1
sub edx, 1
jne 0x40a380
jmp 0x40a397
cmp edx, ebx
jne 0x40a39f
sub eax, 1
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jl 0x40a87a
push str.ctrl.config
lea edx, [esp + 0x1e0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov esi, 0xf
lea eax, [esp + 0x1dc]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a3e0
sub eax, edx
push eax
lea eax, [esp + 0x1e0]
push eax
lea ecx, [esp + 0x98]
call fcn.004024f0
mov dword [esp + 0x2f4], ebx
push ebx
mov dword [esp + 0xb0], vtable.cfg::CXML.0
mov dword [esp + 0x1d8], esi
mov dword [esp + 0x1d4], ebx
mov byte [esp + 0x1c4], bl
mov dword [esp + 0x1dc], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], vtable.cfg::CXmlCtrl.0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x300], 1
call fcn.00402280
push 8
push 0x4526c4
lea edx, [esp + 0xbc]
push 0x104
push edx
call fcn.00432a79
add esp, 0x10
lea ecx, [esp + 0xac]
mov dword [esp + 0x1b8], 8
call fcn.00414d40
test eax, eax
mov edi, 0x10
je 0x40a842
push 6
push str.driver
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 2
push 4
push str.card
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 3
push 4
push str.type
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 4
push 6
push str.device
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.004024f0
push ebp
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x308], 5
call fcn.00416450
cmp dword [esp + 0x4c], edi
jb 0x40a570
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x40a58f
mov edx, dword [esp + 0x54]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x40a5ae
mov eax, dword [esp + 0x1c]
push eax
call fcn.00416c01
add esp, 4
mov byte [esp + 0x2f4], 1
cmp dword [esp + 0x84], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x40a5d8
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00416c01
add esp, 4
push 6
push str.driver
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 6
push 4
push str.cert
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 7
push 4
push str.type
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 8
push 6
push str.device
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004024f0
mov edx, dword [esp + 0x88]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x308], 9
call fcn.00416450
cmp dword [esp + 0x30], edi
jb 0x40a6a9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x40a6c8
mov edx, dword [esp + 0x54]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x40a6e7
mov eax, dword [esp + 0x38]
push eax
call fcn.00416c01
add esp, 4
mov byte [esp + 0x2f4], 1
cmp dword [esp + 0x84], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x40a711
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00416c01
add esp, 4
push 7
push str.enabled
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 0xa
push 4
push str.cert
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 0xb
push 4
push str.type
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.004024f0
mov byte [esp + 0x2f4], 0xc
push 6
push str.device
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004024f0
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x308], 0xd
call fcn.00416450
cmp dword [esp + 0x30], edi
jb 0x40a7e2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x40a801
mov edx, dword [esp + 0x54]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x40a820
mov eax, dword [esp + 0x38]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x40a842
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00416c01
add esp, 4
lea edx, [esp + 0xac]
mov byte [esp + 0x2f4], bl
push edx
mov dword [esp + 0xb0], vtable.cfg::CXmlCtrl.0
call fcn.00414c80
cmp dword [esp + 0xa8], edi
jb 0x40a87a
mov eax, dword [esp + 0x94]
push eax
call fcn.00416c01
add esp, 4
mov ecx, dword [esp + 0x2ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.004322f2
add esp, 0x2e4
ret 0xc