Function at 0x453fc5
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4793ae
call fcn.00465b54
mov eax, 0x1198
call fcn.00465ce0
cmp dword [ebp + 8], 2
push ebx
push esi
push edi
mov esi, ecx
je 0x4542f9
cmp word [esi + 0x56], 0
je 0x453ffc
cmp byte [esi + 0x3f7], 0
jne 0x4542f9
cmp dword [ebp + 8], 0
jne 0x454336
push 1
lea eax, [ebp + 0xb]
pop ebx
mov edi, 0x496cd8
push ebx
push eax
push edi
lea ecx, [ebp - 0x6c]
call fcn.0040565e
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], ebx
mov ebx, dword [esi + 0x40c]
push eax
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x408]
push eax
call fcn.004586e6
cmp dword [ebp - 0x10], ebx
je 0x4540bc
lea eax, [ebp - 0x1a]
push 1
push eax
push 0x496cd0
lea ecx, [ebp - 0x94]
call fcn.0040565e
mov ebx, eax
lea eax, [ebp - 0x19]
push 1
push eax
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040565e
push eax
lea ecx, [esi + 0x408]
mov byte [ebp - 4], 3
call fcn.0045843c
mov ecx, ebx
add ebx, 4
neg ecx
sbb ecx, ecx
and ecx, ebx
push ecx
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.0040abec
test eax, eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
setne bl
call fcn.00407f77
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00407f77
test bl, bl
je 0x4542eb
mov eax, dword [esi + 0x80]
and dword [ebp - 0x18], 0
test eax, eax
je 0x4540d8
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x492970
push eax
call dword [ecx]
cmp byte [0x4af67c], 0
mov byte [ebp - 4], 4
je 0x4540f7
push 0x496ca8
push dword [0x4af6a4]
call fcn.00447860
pop ecx
pop ecx
cmp byte [esi + 0x3f4], 0
jne 0x454218
mov ax, word [esi + 0xa0]
test ax, ax
movzx eax, ax
jne 0x454118
mov eax, 0x409
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x3c]
push 0x496ca0
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0xa0]
lea ecx, [esi + 0xbc]
push eax
call fcn.004071be
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.0040650f
push eax
lea eax, [ebp - 0x1a4]
push 0x496c94
push eax
call ebx
add esp, 0x10
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00407f77
and byte [ebp - 0x9a4], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x9a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x9a4]
push 0x800
push eax
push 0x49b2b8
lea eax, [ebp - 0x3c]
push 0x496c8c
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x496c74
lea ecx, [esi + 0x2d0]
call fcn.00406443
push eax
lea eax, [ebp - 0x9a4]
push eax
lea eax, [ebp - 0x11a4]
push eax
call ebx
lea eax, [ebp - 0x11a4]
push 0xffffffffffffffff
push eax
call fcn.0040de3c
add esp, 0x18
mov dword [ebp - 0x10], eax
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 6
call fcn.00406586
mov di, word [esi + 0x3f8]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
push edi
push dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xa8]
push dword [ebp - 0x10]
mov edi, eax
mov byte [ebp - 4], 4
jmp 0x454258
push 0x4918b8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 7
call fcn.00406586
mov di, word [esi + 0x3f8]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
push edi
push dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xa8]
push dword [ebp - 0x10]
mov edi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jge 0x4542ca
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x47b4cc
mov eax, dword [esi + 0x3e8]
push edi
push 0x496c38
push eax
mov byte [ebp - 4], 8
call fcn.00447860
mov esi, dword [esi + 0x88]
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
push edx
push eax
call dword [ecx + 0x28]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0045daa8
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x4542b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00407f77
mov eax, 0x80004005
jmp 0x454338
cmp byte [esi + 0x3f4], 0
jne 0x4542da
mov ecx, esi
call fcn.0045547b
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x4542eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00407f77
jmp 0x454336
mov esi, dword [esi + 0x80]
and dword [ebp + 8], 0
test esi, esi
je 0x454315
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x492970
push esi
call dword [eax]
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xac]
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x454336
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4