Function at 0x429ed0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549b16
mov eax, dword fs:[0]
push eax
sub esp, 0xd00
mov eax, dword [0x5c5b9c]
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
xor esi, esi
mov dword [ebp - 0xa30], esi
call fcn.0043d2a1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x429f20
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa2c], eax
push 0x208
lea ecx, [ebp - 0x220]
push esi
push ecx
mov dword [ebp - 4], esi
call fcn.00531b10
push 0x208
lea edx, [ebp - 0x428]
push esi
push edx
call fcn.00531b10
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x429f77
sub eax, edx
sar eax, 1
mov ecx, 0x5c
cmp cx, word [ebp + eax*2 - 0x222]
je 0x429f9f
mov edx, ecx
mov word [ebp + eax*2 - 0x220], dx
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
jmp 0x429fb0
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x429fb0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0xa2c]
call fcn.00401600
push 0x10
push str.istdrv.debug.ini
lea ecx, [ebp - 0xa2c]
call fcn.00405ed0
mov edx, dword [ebp - 0xa2c]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42a00b
push esi
lea ecx, [ebp - 0xa2c]
call fcn.004012e0
mov edx, dword [ebp - 0xa2c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edx
push 0x104
lea ecx, [ebp - 0x428]
push ecx
push 0x57475c
push str.ShowMsgDlg
push str.Debug_Info
call ebx
mov ecx, 0x574724
lea eax, [ebp - 0x428]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a066
cmp dx, si
je 0x42a062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a066
add eax, 4
add ecx, 4
cmp dx, si
jne 0x42a040
xor eax, eax
jmp 0x42a06b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x42a079
mov dword [ebp - 0xa30], 1
push 0x208
lea edx, [ebp - 0x220]
push esi
push edx
call fcn.00531b10
push 0x208
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.00531b10
push 0x200
xor eax, eax
lea ecx, [ebp - 0x828]
push esi
push ecx
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call fcn.00531b10
push 0x200
lea edx, [ebp - 0x628]
push esi
push edx
call fcn.00531b10
push 0x200
lea eax, [ebp - 0xa28]
push esi
push eax
call fcn.00531b10
add esp, 0x3c
push 0x82
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x100
lea edx, [ebp - 0xa28]
push edx
push 0x100
lea eax, [ebp - 0x628]
push eax
push 0x100
lea ecx, [ebp - 0x828]
push ecx
push 3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00530997
lea eax, [ebp - 0x18]
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42a130
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xa2c]
call fcn.00401600
mov eax, dword [ebp - 0xa2c]
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
jns 0x42a169
push 0x80070057
call fcn.00401020
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x42a18c
push esi
lea ecx, [ebp - 0xa2c]
call fcn.004012e0
mov eax, dword [ebp - 0xa2c]
mov edx, 0x5c
mov word [eax + edi*2], dx
cmp esi, dword [eax - 8]
jg 0x42a15f
xor ecx, ecx
mov dword [eax - 0xc], esi
push 0x10
mov word [eax + esi*2], cx
push str.istdrv.debug.ini
lea ecx, [ebp - 0xa2c]
call fcn.00405ed0
mov esi, dword [ebp - 0xa2c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x42a1dd
push 0
lea ecx, [ebp - 0xa2c]
call fcn.004012e0
mov esi, dword [ebp - 0xa2c]
push esi
push 0x104
lea edx, [ebp - 0x428]
push edx
push 0x57475c
push str.ShowMsgDlg
push str.Debug_Info
call ebx
mov ecx, 0x574724
lea eax, [ebp - 0x428]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a22c
test dx, dx
je 0x42a228
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a22c
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a206
xor eax, eax
jmp 0x42a231
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42a241
mov dword [ebp - 0xa30], 1
jmp 0x42a24a
cmp dword [ebp - 0xa30], 0
je 0x42a275
push 0
lea ecx, [ebp - 0xd0c]
call fcn.00422060
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 1
call fcn.0043def9
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 0
call fcn.00421ee0
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a298
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa30]
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.00530f8d
mov esp, ebp
pop ebp
ret