Function at 0x4d6cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a829c
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ecx
push str.CBaseInfoCtrl::GetVersionOf
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x154], esi
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d6d85
test byte [ecx + 0x1c], 1
je 0x4d6d4a
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d8b60
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xe
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x4d6d85
test byte [ecx + 0x1c], 1
je 0x4d6d85
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b60
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xf
call fcn.00405920
add esp, 0x10
push 0x80
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00571c00
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00571c00
add esp, 0x18
cmp dword [ebx + 0x7f0], 0
jne 0x4d6dbe
mov ecx, ebx
call fcn.004d7090
xor eax, eax
lea ecx, [ebp - 0x158]
mov word [esi], ax
call fcn.00443080
push 0x40
push dword [ebp + 0x14]
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 1
push str.Driver
push eax
lea ecx, [ebp - 0x158]
call fcn.00444240
cmp dword [ebx + 0x7f8], 2
jne 0x4d6f8e
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x4d707f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14c], esi
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00430700
push edi
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004db770
test eax, eax
je 0x4d6e8e
push edi
lea ecx, [ebp - 0x150]
call fcn.00436ad0
test eax, eax
je 0x4d6ec2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0xff
or eax, ecx
jge 0x4d6e71
push 0xff
lea ecx, [ebp - 0x14c]
call fcn.00403b50
mov esi, dword [ebp - 0x14c]
push 0
push 0xff
push esi
mov ecx, ebx
call fcn.004d9bf0
push ecx
lea ecx, [ebp - 0x14c]
call fcn.00405fa0
jmp 0x4d6ec2
test edi, edi
jne 0x4d6e96
xor ecx, ecx
jmp 0x4d6eaf
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d6ea0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x14c]
call fcn.00403bb0
mov esi, dword [ebp - 0x14c]
lea eax, [ebx + 4]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x5c6930
push esi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x150]
mov ebx, eax
call fcn.004307d0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4d6f0b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x154]
test ebx, ebx
jle 0x4d6ffe
lea eax, [ebp - 0x8e]
push eax
push dword [ebp + 0x10]
push esi
call fcn.005746e6
movzx eax, word [ebp - 0x90]
push eax
call fcn.00582a6f
add esp, 0x10
mov byte [ebp - 0x144], 1
cmp eax, 0x50
jne 0x4d6fb5
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d6f87
test byte [ecx + 0x1c], 1
je 0x4d6f87
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b60
push edi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x10
call fcn.00430170
add esp, 0x14
xor esi, esi
jmp 0x4d7049
lea eax, [ebx + 4]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x5c6930
push edi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
jmp 0x4d6f11
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d6ff7
test byte [ecx + 0x1c], 1
je 0x4d6ff7
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b60
push edi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x11
call fcn.00430170
add esp, 0x14
mov esi, 1
jmp 0x4d7049
mov byte [ebp - 0x144], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d7046
test byte [ecx + 0x1c], 1
je 0x4d7046
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b60
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x12
call fcn.00405920
add esp, 0x10
or esi, 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00443150
lea ecx, [ebp - 0x148]
call fcn.0040a570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004013a0
int3