Function at 0x49d170
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x718
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x329]
mov byte [esp + 0x328], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x72c]
lea ecx, [esp + 0x328]
push eax
push 0x400
push ecx
push ebx
push 0x4d81c4
push 0x4d81c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov cl, byte [esp + 0x328]
xor edi, edi
xor ebp, ebp
cmp cl, bl
lea edx, [esp + 0x328]
lea eax, [esp + 0x328]
je 0x49d215
cmp cl, 0x20
je 0x49d206
cmp cl, 9
je 0x49d206
cmp edi, ebx
jne 0x49d20d
mov edi, 1
mov edx, eax
jmp 0x49d20d
cmp edi, 1
jne 0x49d20d
mov ebp, eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x49d1ef
cmp edx, ebx
mov byte [esp + 0x1c], bl
je 0x49d24a
cmp ebp, ebx
jne 0x49d235
push edx
lea edx, [esp + 0x20]
push 0x104
push edx
mov ecx, esi
call fcn.0049d650
jmp 0x49d24a
sub ebp, edx
lea eax, [esp + 0x1c]
push ebp
push edx
push 0x104
push eax
mov ecx, esi
call fcn.0049d980
lea ecx, [esp + 0x1c]
test ecx, ecx
je 0x49d2be
lea edx, [esp + 0x1c]
push 0x3a
push edx
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x49d26d
cmp byte [esp + 0x1c], 0x5c
jne 0x49d2be
mov esi, dword [esp + 0x730]
cmp esi, ebx
je 0x49d49f
mov edx, dword [esp + 0x734]
cmp edx, ebx
jle 0x49d49f
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x49d49f
lea eax, [esp + 0x1c]
push eax
push edx
push esi
call dword [0x4cd2bc]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x718
ret 0xc
xor ecx, ecx
mov ebp, dword [esp + 0x72c]
mov dword [esp + 0x11], ecx
xor eax, eax
mov dword [esp + 0x15], ecx
lea edi, [esp + 0x329]
mov byte [esp + 0x19], cl
mov ecx, 0xff
mov byte [esp + 0x328], bl
push ebp
rep stosd dword es:[edi], eax
lea edx, [esp + 0x32c]
push 0x400
stosw word es:[edi], ax
push edx
push 0x4d6ea8
push str.NotUseDefaultDllPath
push 0x4d81c0
mov byte [esp + 0x28], bl
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x10]
push 0xa
lea ecx, [esp + 0x32c]
push eax
push ecx
mov ecx, esi
call fcn.0049d770
cmp byte [esp + 0x10], 0x31
jne 0x49d35b
mov edx, dword [esp + 0x734]
mov eax, dword [esp + 0x730]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
mov ecx, esi
call fcn.0049d840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x718
ret 0xc
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x225]
mov byte [esp + 0x224], bl
rep stosd dword es:[edi], eax
push ebp
lea edx, [esp + 0x228]
push 0x104
push edx
stosw word es:[edi], ax
push ebx
push str.DllPath
push str.DefaultValue
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x120]
test eax, eax
je 0x49d440
lea ecx, [esp + 0x224]
mov byte [esp + 0x120], bl
push ecx
mov ecx, esi
call fcn.0049d810
test eax, eax
je 0x49d3f2
lea edx, [esp + 0x1c]
lea eax, [esp + 0x120]
push edx
push 0x104
push eax
mov ecx, esi
call fcn.0049d650
jmp 0x49d440
lea ecx, [esp + 0x224]
lea edx, [esp + 0x120]
push ecx
push 0x104
push edx
mov ecx, esi
call fcn.0049d9c0
push 0x4d3fc4
lea eax, [esp + 0x124]
push 0x104
push eax
mov ecx, esi
call fcn.0049d9c0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x120]
push ecx
push 0x104
push edx
mov ecx, esi
call fcn.0049d9c0
lea eax, [esp + 0x120]
mov ecx, esi
push eax
call fcn.0049d730
test eax, eax
je 0x49d480
mov ecx, dword [esp + 0x734]
mov edx, dword [esp + 0x730]
push ecx
lea eax, [esp + 0x124]
push edx
push eax
push ebp
mov ecx, esi
call fcn.0049d840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x718
ret 0xc
mov edx, dword [esp + 0x734]
mov eax, dword [esp + 0x730]
lea ecx, [esp + 0x120]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0049d650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x718
ret 0xc