Function at 0x42a630
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573fae
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x5d2614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x5a14b0
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x840], 0
call fcn.00401a30
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x82e]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x840], 1
mov word [ebp - 0x830], ax
call fcn.00544f30
add esp, 0xc
push 0x104
lea edx, [ebp - 0x830]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5a14b0
lea ecx, [ebp - 0x83c]
mov esi, eax
call fcn.00401a30
mov dword [ebp - 4], 1
test esi, esi
jbe 0x42a7e1
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call fcn.00544f30
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00544f30
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.00544f30
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x104
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x830]
push edx
call fcn.00542d20
add esp, 0x48
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x628]
push ecx
push 0x5a3bc4
lea edx, [ebp - 0x420]
push 0x104
push edx
call fcn.0054409c
add esp, 0x10
lea eax, [ebp - 0x420]
mov ecx, esp
mov dword [ebp - 0x834], esp
push eax
call fcn.00401a30
lea ecx, [ebp - 0x834]
push ecx
call fcn.00407f80
add esp, 8
push eax
lea ecx, [ebp - 0x83c]
mov byte [ebp - 4], 2
call fcn.00401f40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x834]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a7e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x83c]
cmp dword [esi - 0xc], 0
je 0x42a906
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.00544f30
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.Error
push str.DriverVer
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
mov eax, str.Error
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a866
test dx, dx
je 0x42a862
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a866
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a840
xor eax, eax
jmp 0x42a86b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42a906
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x834]
call fcn.00401a30
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 3
call fcn.00454dde
lea edx, [ebp - 0x854]
push 0x2c
push edx
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 4
call fcn.00407560
mov esi, dword [ebp - 0x838]
add esp, 8
cmp dword [ebp - 0x84c], 2
jne 0x42a8cf
mov eax, dword [ebp - 0x850]
add eax, 4
push eax
mov ecx, esi
call fcn.00401f40
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 3
call fcn.00455030
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x834]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a90c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42a90c
mov esi, dword [ebp - 0x838]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jne 0x42a922
push 5
push str.4.4.5
mov ecx, esi
call fcn.00401e90
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005418f3
mov esp, ebp
pop ebp
ret