Function at 0x419677
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x530c
call fcn.0054cd40
mov dword [ebp - 0x530c], ecx
lea eax, [ebp - 0x423c]
push eax
mov ecx, dword [ebp - 0x530c]
call fcn.004169d9
mov dword [ebp - 0x4244], 0
mov dword [ebp - 0x4228], 4
push 0x4200
push 0
lea ecx, [ebp - 0x4204]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp - 0x530c]
cmp dword [edx + 0x108], 0xe
jl 0x4199df
mov eax, dword [ebp - 0x530c]
cmp dword [eax + 0x108], 0x1c
jg 0x4199df
push 0x10
push 0
mov ecx, dword [ebp - 0x530c]
add ecx, 0x934
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp - 0x530c]
mov byte [edx + 0x934], 0xf0
mov eax, dword [ebp - 0x530c]
mov byte [eax + 0x935], 3
mov ecx, dword [ebp - 0x530c]
mov byte [ecx + 0x93f], 1
push 0x600
push 0
mov edx, dword [ebp - 0x530c]
add edx, 0x334
push edx
call fcn.0054bfb0
add esp, 0xc
push 0x12c
push 0
push 0x200
mov eax, dword [ebp - 0x530c]
add eax, 0x334
push eax
mov ecx, dword [ebp - 0x530c]
add ecx, 0x934
push ecx
mov edx, dword [ebp - 0x530c]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp - 0x530c]
mov ecx, dword [ecx + 0x60]
call fcn.004ccf8e
mov edx, dword [ebp - 0x530c]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 0x530c]
xor ecx, ecx
mov cl, byte [eax + 0x3b4]
mov dword [ebp - 0x4228], ecx
push 0x10
push 0
mov edx, dword [ebp - 0x530c]
add edx, 0x934
push edx
call fcn.0054bfb0
add esp, 0xc
mov eax, dword [ebp - 0x530c]
mov byte [eax + 0x934], 0xf0
mov ecx, dword [ebp - 0x530c]
mov byte [ecx + 0x935], 1
mov dword [ebp - 0x5300], 0
mov dword [ebp - 0x4240], 0
jmp 0x4197fd
mov edx, dword [ebp - 0x4240]
add edx, 1
mov dword [ebp - 0x4240], edx
cmp dword [ebp - 0x4240], 9
jge 0x4198aa
cmp dword [ebp - 0x4240], 2
jne 0x419877
mov eax, dword [ebp - 0x4240]
xor ecx, ecx
mov cx, word [ebp + eax*2 - 0x423c]
sar ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x530c]
add edx, dword [ebp - 0x5300]
mov byte [edx + 0x936], cl
mov eax, dword [ebp - 0x5300]
add eax, 1
mov dword [ebp - 0x5300], eax
mov ecx, dword [ebp - 0x4240]
xor edx, edx
mov dx, word [ebp + ecx*2 - 0x423c]
and edx, 0xff
mov eax, dword [ebp - 0x530c]
add eax, dword [ebp - 0x5300]
mov byte [eax + 0x936], dl
jmp 0x419896
mov ecx, dword [ebp - 0x530c]
add ecx, dword [ebp - 0x5300]
mov edx, dword [ebp - 0x4240]
mov al, byte [ebp + edx*2 - 0x423c]
mov byte [ecx + 0x936], al
mov ecx, dword [ebp - 0x5300]
add ecx, 1
mov dword [ebp - 0x5300], ecx
jmp 0x4197ee
mov edx, dword [ebp - 0x530c]
cmp dword [edx + 0x108], 0x13
jl 0x419929
mov eax, dword [ebp - 0x530c]
cmp dword [eax + 0x108], 0x1b
jg 0x419929
mov ecx, dword [ebp - 0x4230]
and ecx, 0xffff
and ecx, 0xf
cmp ecx, 6
jl 0x419929
mov edx, dword [ebp - 0x4230]
and edx, 0xffff
and edx, 0xf
cmp edx, 0xa
jg 0x419929
mov eax, dword [ebp - 0x530c]
add eax, 0x134
push eax
push 0
push 0x590e68
push 0x590e78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x5304], eax
mov ecx, dword [ebp - 0x5304]
and ecx, 0x7f
mov edx, dword [ebp - 0x530c]
mov byte [edx + 0x93e], cl
mov eax, dword [ebp - 0x530c]
xor ecx, ecx
mov cl, byte [eax + 0x93b]
and ecx, 4
test ecx, ecx
je 0x419952
mov edx, dword [ebp - 0x530c]
mov al, byte [ebp - 0x4228]
mov byte [edx + 0x93f], al
jmp 0x41995f
mov ecx, dword [ebp - 0x530c]
mov byte [ecx + 0x93f], 3
mov edx, dword [ebp - 0x530c]
xor eax, eax
mov al, byte [edx + 0x93f]
mov dword [ebp - 0x4244], eax
push 0x4200
push 0
lea ecx, [ebp - 0x4204]
push ecx
call fcn.0054bfb0
add esp, 0xc
push 0x12c
push 0
mov edx, dword [ebp - 0x530c]
xor eax, eax
mov al, byte [edx + 0x93f]
shl eax, 9
push eax
lea ecx, [ebp - 0x4204]
push ecx
mov edx, dword [ebp - 0x530c]
add edx, 0x934
push edx
mov eax, dword [ebp - 0x530c]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x530c]
mov ecx, dword [edx + 0x60]
call fcn.004ccf8e
mov ecx, dword [ebp - 0x530c]
mov dword [ecx + 0x110], eax
jmp 0x419c7e
push 0x10b8
push 0
lea edx, [ebp - 0x52fc]
push edx
call fcn.0054bfb0
add esp, 0xc
lea eax, [ebp - 0x52fc]
push eax
mov ecx, dword [ebp - 0x530c]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x530c]
mov ecx, dword [eax + 0x60]
call fcn.004cd4b3
mov ecx, dword [ebp - 0x530c]
mov dword [ecx + 0x110], eax
push 0x10
push 0
mov edx, dword [ebp - 0x530c]
add edx, 0x934
push edx
call fcn.0054bfb0
add esp, 0xc
push 0x4200
push 0
lea eax, [ebp - 0x4204]
push eax
call fcn.0054bfb0
add esp, 0xc
mov ecx, dword [ebp - 0x530c]
mov byte [ecx + 0x934], 0xf0
mov edx, dword [ebp - 0x530c]
mov byte [edx + 0x935], 0xa
mov eax, dword [ebp - 0x526e]
and eax, 0xff
mov ecx, dword [ebp - 0x5277]
and ecx, 0xff
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 1
imul eax, ecx
mov dword [ebp - 0x5308], eax
push 0x649
mov ecx, dword [ebp - 0x530c]
call fcn.00564186
mov ecx, eax
call fcn.00406af0
test eax, eax
je 0x419acd
mov edx, dword [ebp - 0x530c]
mov byte [edx + 0x935], 0x3a
cmp dword [ebp - 0x5308], 0x10
jle 0x419acd
mov dword [ebp - 0x5308], 0x10
mov dword [ebp - 0x4240], 0
jmp 0x419ae8
mov eax, dword [ebp - 0x4240]
add eax, 1
mov dword [ebp - 0x4240], eax
cmp dword [ebp - 0x4240], 8
jge 0x419b12
mov ecx, dword [ebp - 0x530c]
add ecx, dword [ebp - 0x4240]
mov edx, dword [ebp - 0x4240]
mov al, byte [ebp + edx*2 - 0x423c]
mov byte [ecx + 0x936], al
jmp 0x419ad9
mov ecx, dword [ebp - 0x530c]
mov byte [ecx + 0x93f], 2
mov edx, dword [ebp - 0x530c]
xor eax, eax
mov al, byte [edx + 0x93f]
mov dword [ebp - 0x4244], eax
mov ecx, dword [ebp - 0x530c]
cmp dword [ecx + 0x108], 8
jl 0x419c2d
mov edx, dword [ebp - 0x530c]
cmp dword [edx + 0x108], 0xd
jg 0x419c2d
mov eax, dword [ebp - 0x530c]
mov cl, byte [ebp - 0x422c]
mov byte [eax + 0x936], cl
mov edx, dword [ebp - 0x530c]
mov al, byte [ebp - 0x4234]
mov byte [edx + 0x937], al
mov ecx, dword [ebp - 0x530c]
mov dl, byte [ebp - 0x423a]
mov byte [ecx + 0x938], dl
mov eax, dword [ebp - 0x4238]
and eax, 0xffff
sar eax, 8
mov ecx, dword [ebp - 0x530c]
mov byte [ecx + 0x939], al
mov edx, dword [ebp - 0x4238]
and edx, 0xffff
and edx, 0xff
mov eax, dword [ebp - 0x530c]
mov byte [eax + 0x93a], dl
mov ecx, dword [ebp - 0x530c]
mov dl, byte [ebp - 0x4236]
mov byte [ecx + 0x93b], dl
mov eax, dword [ebp - 0x4232]
and eax, 0xffff
or al, 4
mov ecx, dword [ebp - 0x530c]
mov byte [ecx + 0x93d], al
mov edx, dword [ebp - 0x530c]
mov al, byte [ebp - 0x4230]
mov byte [edx + 0x93e], al
mov ecx, dword [ebp - 0x530c]
mov dl, byte [ebp - 0x5308]
mov byte [ecx + 0x93f], dl
mov eax, dword [ebp - 0x530c]
xor ecx, ecx
mov cl, byte [eax + 0x93f]
add ecx, 1
mov dword [ebp - 0x4244], ecx
push 0x12c
push 0
mov edx, dword [ebp - 0x530c]
xor eax, eax
mov al, byte [edx + 0x93f]
shl eax, 9
push eax
lea ecx, [ebp - 0x4204]
push ecx
mov edx, dword [ebp - 0x530c]
add edx, 0x934
push edx
mov eax, dword [ebp - 0x530c]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x530c]
mov ecx, dword [edx + 0x60]
call fcn.004ccf8e
mov ecx, dword [ebp - 0x530c]
mov dword [ecx + 0x110], eax
push 1
mov ecx, dword [ebp - 0x530c]
call fcn.005637eb
push 0x20
lea edx, [ebp - 0x4224]
push edx
push 0x502
mov ecx, dword [ebp - 0x530c]
call fcn.00564186
mov ecx, eax
call fcn.00564356
lea eax, [ebp - 0x4224]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x419cd2
lea ecx, [ebp - 0x4224]
push ecx
call fcn.0054c538
add esp, 4
mov dword [ebp - 4], eax
jmp 0x419cd9
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x4244]
shl ecx, 9
push ecx
lea edx, [ebp - 0x4204]
push edx
mov ecx, dword [ebp - 0x530c]
add ecx, 0x64
call fcn.004266f3
push 1
push 1
push 1
push 1
mov ecx, dword [ebp - 0x530c]
add ecx, 0x64
call fcn.00424a33
push 0x105
push 0
push 0
mov ecx, dword [ebp - 0x530c]
add ecx, 0x64
call fcn.00411bd0
mov esp, ebp
pop ebp
ret