Function at 0x407b50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x614
xor eax, eax
push ebx
push ebp
mov dword [esp + 9], eax
push esi
mov esi, dword [esp + 0x624]
mov ebp, ecx
push edi
mov dword [esp + 0x15], eax
mov ecx, 0xff
lea edi, [esp + 0x225]
mov byte [esp + 0x19], al
mov byte [esp + 0x224], al
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x228]
push 0x400
push ecx
stosw word es:[edi], ax
push 0x420600
push str.NotUseDefaultDllPath
push 0x420594
mov byte [esp + 0x28], 0
stosb byte es:[edi], al
call ebx
lea edx, [esp + 0x10]
push 0xa
lea eax, [esp + 0x228]
push edx
push eax
mov ecx, ebp
call fcn.00409be0
cmp byte [esp + 0x10], 0x31
jne 0x407c90
test esi, esi
je 0x407e5a
mov eax, dword [esp + 0x62c]
test eax, eax
je 0x407e5a
mov edi, dword [esp + 0x630]
test edi, edi
je 0x407e5a
mov ebx, dword [esp + 0x634]
test ebx, ebx
jle 0x407e5a
push 0x5c
push esi
call fcn.00410c2c
add esp, 8
test eax, eax
jne 0x407c23
push 0x2f
push esi
call fcn.00410c2c
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x407c76
sub eax, esi
inc eax
mov ebx, eax
test ebx, ebx
jle 0x407c51
mov eax, dword [esp + 0x634]
cmp eax, ebx
jle 0x407c51
push ebx
mov ecx, eax
push esi
push ecx
push edi
call dword [0x42006c]
add esp, 0x10
mov byte [ebx + edi], 0
mov ebx, dword [esp + 0x634]
mov edx, dword [esp + 0x62c]
mov ecx, ebp
push edx
push ebx
push edi
call fcn.0040a530
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x614
ret 0x10
push esi
push ebx
push edi
mov ecx, ebp
call fcn.00408010
push 0x42034c
push ebx
push edi
mov ecx, ebp
call fcn.0040a530
jmp 0x407c58
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
lea eax, [esp + 0x124]
push 0x104
push eax
push 0
push str.DllPath
push str.DefaultValue
call ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
test ecx, ecx
stosb byte es:[edi], al
je 0x407d9f
lea edx, [esp + 0x120]
mov byte [esp + 0x1c], 0
test edx, edx
lea ecx, [esp + 0x120]
je 0x407d1a
mov al, byte [esp + 0x120]
test al, al
je 0x407d1a
cmp al, 0x20
je 0x407d12
cmp al, 9
jne 0x407d35
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x407d0a
mov eax, dword [esp + 0x62c]
lea ecx, [esp + 0x1c]
push eax
push 0x104
push ecx
mov ecx, ebp
call fcn.00408010
jmp 0x407d7d
lea edx, [esp + 0x120]
lea eax, [esp + 0x1c]
push edx
push 0x104
push eax
mov ecx, ebp
call fcn.0040a530
push 0x42034c
lea ecx, [esp + 0x20]
push 0x104
push ecx
mov ecx, ebp
call fcn.0040a530
mov edx, dword [esp + 0x62c]
lea eax, [esp + 0x1c]
push edx
push 0x104
push eax
mov ecx, ebp
call fcn.0040a530
lea ecx, [esp + 0x1c]
push 0x3a
push ecx
call fcn.00410b95
add esp, 8
test eax, eax
jne 0x407e23
cmp byte [esp + 0x1c], 0x5c
je 0x407e23
test esi, esi
je 0x407e5a
lea edx, [esp + 0x1c]
test edx, edx
je 0x407e5a
mov edi, dword [esp + 0x630]
test edi, edi
je 0x407e5a
mov ebx, dword [esp + 0x634]
test ebx, ebx
jle 0x407e5a
push esi
mov ecx, ebp
call fcn.0040a590
test eax, eax
mov byte [edi], 0
je 0x407df0
sub eax, esi
mov ecx, ebp
inc eax
push eax
push esi
push ebx
push edi
call fcn.0040a4f0
jmp 0x407e08
push esi
push ebx
push edi
mov ecx, ebp
call fcn.00408010
push 0x42034c
push ebx
push edi
mov ecx, ebp
call fcn.0040a530
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
push ebx
push edi
call fcn.0040a530
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x614
ret 0x10
mov edi, dword [esp + 0x630]
test edi, edi
je 0x407e5a
mov esi, dword [esp + 0x634]
test esi, esi
jle 0x407e5a
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.00409dc0
test eax, eax
je 0x407e5a
lea edx, [esp + 0x1c]
push edx
push esi
push edi
call dword [0x420070]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x614
ret 0x10