Function at 0x46e170
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x420]
sub esp, 0x420
push 0xffffffffffffffff
push 0x5842c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x428]
mov edi, dword [ebp + 0x430]
mov dword [ebp - 0x18], eax
mov ebx, ecx
mov eax, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov byte [ebp + 4], 0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46e1d4
sub eax, esi
push eax
push edi
lea ecx, [ebp]
call fcn.0040c1c0
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0046c1f0
cmp dword [ebp + 0x18], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x46e218
mov eax, dword [ebp + 4]
push eax
call fcn.0055215c
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], ecx
je 0x46e229
cmp eax, ebx
je 0x46e22e
call fcn.005532de
mov esi, dword [ebp - 0x10]
cmp esi, dword [ebp - 0x20]
je 0x46e2ca
mov edi, dword [ebp - 0x14]
test edi, edi
jne 0x46e246
call fcn.005532de
cmp esi, dword [edi + 4]
jne 0x46e250
call fcn.005532de
push 0xffffffffffffffff
lea eax, [esi + 0x28]
push 0
push eax
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov byte [ebp + 4], 0
call fcn.0040a080
mov edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x42c]
jle 0x46e297
cmp dword [ebp + 0x18], 0x10
jb 0x46e28f
mov edx, dword [ebp + 4]
push edx
call fcn.0055215c
add esp, 4
or eax, 0xffffffff
jmp 0x46e492
mov esi, dword [ebp + 0x18]
cmp esi, 0x10
mov ebx, dword [ebp + 4]
mov eax, ebx
jae 0x46e2a7
lea eax, [ebp + 4]
push edi
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00552de0
add esp, 0xc
cmp esi, 0x10
jb 0x46e2c3
push ebx
call fcn.0055215c
add esp, 4
mov eax, edi
jmp 0x46e492
test edi, edi
jne 0x46e2d3
mov dword [ebp - 0x10], edi
jmp 0x46e30a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x46e2f0
mov dword [ebp - 0x10], 0
jmp 0x46e30a
lea eax, [esi + esi]
call fcn.00553150
mov eax, esp
push 0x3a8
push esi
push edi
push eax
call fcn.00401140
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x24], 0x10
jb 0x46e315
mov ebx, dword [ebx + 0x10]
jmp 0x46e318
add ebx, 0x10
test ebx, ebx
jne 0x46e320
xor esi, esi
jmp 0x46e351
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x46e338
xor esi, esi
jmp 0x46e351
lea eax, [esi + esi]
call fcn.00553150
mov eax, esp
push 0x3a8
push esi
push ebx
push eax
call fcn.00401140
mov esi, eax
push 0x3fe
lea ecx, [ebp + 0x1e]
push 0
push ecx
mov word [ebp + 0x1c], 0
call fcn.00552500
mov eax, dword [ebp - 0x10]
add esp, 0xc
push esi
push 0x200
lea edx, [ebp + 0x1c]
push edx
push 0x59648c
push 0x597fe8
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x46e48d
lea ecx, [ebp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x46e3a8
xor esi, esi
jmp 0x46e3c6
lea esi, [eax + eax]
mov eax, esi
call fcn.00553150
mov eax, esp
push 0x3a8
push esi
lea edx, [ebp + 0x1c]
push edx
push eax
call fcn.00401180
mov esi, eax
mov eax, edi
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46e3e0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0040c1c0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 1
call fcn.0046dc30
mov edx, esi
lea edi, [edx + 1]
lea ecx, [ecx]
mov cl, byte [edx]
add edx, 1
test cl, cl
jne 0x46e410
sub edx, edi
push edx
push esi
mov ecx, eax
call fcn.0040c1c0
cmp dword [ebp - 0x28], 0x10
jb 0x46e436
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0055215c
add esp, 4
mov eax, esi
lea edx, [eax + 1]
jmp 0x46e440
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46e440
sub eax, edx
cmp eax, dword [ebp + 0x42c]
jg 0x46e28f
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46e460
sub eax, edx
mov edx, dword [ebp - 0x18]
push eax
push esi
push edx
call fcn.00552de0
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46e480
sub eax, edx
jmp 0x46e492
mov eax, 0xfffffffe
lea esp, [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.00552d63
add ebp, 0x420
mov esp, ebp
pop ebp
ret 0xc