Function at 0x4be625
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d0
push ebx
mov dword [ebp - 0x6cc], ecx
mov dword [ebp - 0x6c0], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x418], 0xff
mov dword [ebp - 0x6c4], 0x20
mov dword [ebp - 0x394], 8
mov dword [ebp - 0x5b0], 2
mov dword [ebp - 0x5ac], 4
mov byte [ebp - 4], 0
mov byte [ebp - 0x4a4], 1
mov byte [ebp - 0x41c], 0
cmp dword [ebp + 0x10], 8
jl 0x4be6b7
cmp dword [ebp + 0x10], 0x1c
jg 0x4be6b7
mov dword [ebp - 0x6c4], 0x30
mov dword [ebp - 0x394], 0x10
mov dword [ebp - 0x5ac], 8
push 0x5d96c0
lea eax, [ebp - 0x20c]
push eax
call fcn.0054c45b
add esp, 8
mov dword [ebp - 0x420], 0
jmp 0x4be6e6
mov ecx, dword [ebp - 0x420]
add ecx, 1
mov dword [ebp - 0x420], ecx
mov edx, dword [ebp - 0x5ac]
imul edx, dword [ebp - 0x5b0]
cmp dword [ebp - 0x420], edx
jge 0x4be851
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x5ac]
jl 0x4be71e
cmp dword [ebp - 0x418], 0xff
je 0x4be71e
jmp 0x4be851
mov ecx, dword [ebp - 0x420]
imul ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x6c4]
add edx, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + edx]
test ecx, ecx
je 0x4be84c
mov edx, dword [ebp - 0x420]
imul edx, dword [ebp - 0x394]
mov eax, dword [ebp - 0x6c4]
add eax, edx
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + eax]
cmp edx, 0xff
je 0x4be84c
cmp dword [ebp - 0x418], 0xff
jne 0x4be7e2
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x420]
imul ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x6c4]
add edx, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + edx]
push ecx
push 0x5acc78
lea edx, [ebp - 0x20c]
push edx
call fcn.0054c45b
add esp, 0xc
push 6
mov eax, dword [ebp - 0x420]
imul eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x6c4]
add ecx, eax
mov edx, dword [ebp + 0xc]
add edx, ecx
push edx
lea eax, [ebp - 0x5b8]
push eax
call fcn.0054c980
add esp, 0xc
mov cl, byte [ebp - 0x41c]
add cl, 1
mov byte [ebp - 0x41c], cl
mov edx, dword [ebp - 0x4a4]
and edx, 0xff
test edx, edx
je 0x4be84c
mov eax, dword [ebp - 0x420]
imul eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x6c4]
add ecx, eax
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x5ac]
add ecx, dword [ebp - 0x420]
imul ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x6c4]
add edx, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov bl, byte [ecx + edx]
cmp eax, ebx
je 0x4be84c
mov byte [ebp - 0x4a4], 0
jmp 0x4be6d7
mov edx, dword [ebp - 0x4a4]
and edx, 0xff
test edx, edx
je 0x4be899
mov eax, dword [ebp - 0x41c]
and eax, 0xff
test eax, eax
je 0x4be893
mov ecx, dword [ebp - 0x41c]
and ecx, 0xff
and ecx, 0x80000001
jns 0x4be889
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x4be893
mov byte [ebp - 4], 0xa0
jmp 0x4be897
mov byte [ebp - 4], 0x50
jmp 0x4be8ce
mov edx, dword [ebp - 0x41c]
and edx, 0xff
test edx, edx
je 0x4be8ca
mov eax, dword [ebp - 0x41c]
and eax, 0xff
and eax, 0x80000001
jns 0x4be8c0
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4be8ca
mov byte [ebp - 4], 0xa
jmp 0x4be8ce
mov byte [ebp - 4], 5
cmp dword [ebp - 0x418], 0xff
jne 0x4be8e1
xor eax, eax
jmp 0x4bf50e
lea ecx, [ebp - 0x6bc]
push ecx
call fcn.0053534c
add esp, 4
push 0x5acc80
lea edx, [ebp - 0x6bc]
push edx
call fcn.0054bed0
add esp, 8
mov dword [ebp - 0x420], 0
jmp 0x4be91f
mov eax, dword [ebp - 0x420]
add eax, 1
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0x17
jge 0x4be973
mov ecx, dword [ebp - 0x420]
imul ecx, ecx, 0x14
mov edx, dword [ecx + 0x5b8460]
cmp edx, dword [ebp + 0x10]
jne 0x4be971
mov eax, dword [ebp - 0x420]
imul eax, eax, 0x14
mov ecx, dword [eax + 0x5b8458]
push ecx
lea edx, [ebp - 0x6bc]
push edx
call fcn.0054bed0
add esp, 8
push 0x5acc94
lea eax, [ebp - 0x6bc]
push eax
call fcn.0054bed0
add esp, 8
jmp 0x4be973
jmp 0x4be910
cmp dword [ebp - 0x6c0], 0
jne 0x4beb67
lea ecx, [ebp - 0x6bc]
push ecx
push 0
push 0x5acc9c
push 0x5acca8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x6c8], eax
mov dword [ebp - 0x420], 0
jmp 0x4be9ba
mov edx, dword [ebp - 0x420]
add edx, 1
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x6c8]
jge 0x4beb67
mov ecx, dword [ebp - 0x420]
push ecx
push 0x5accb8
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0x6bc]
push eax
push 0x104
lea ecx, [ebp - 0x390]
push ecx
push 0x5accc4
lea edx, [ebp - 0x414]
push edx
push 0x5accc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x420]
push eax
push 0x5accd8
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x6bc]
push edx
push 0x80
lea eax, [ebp - 0x4a0]
push eax
push 0x5d96c4
lea ecx, [ebp - 0x414]
push ecx
push 0x5accec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x4a0]
push edx
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x4bea88
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x4a0]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
jne 0x4bea88
jmp 0x4be9ab
lea edx, [ebp - 0x390]
push edx
call fcn.005353c2
add esp, 4
mov ecx, dword [ebp - 4]
and ecx, 0xff
and eax, ecx
mov edx, dword [ebp - 4]
and edx, 0xff
cmp eax, edx
jne 0x4beb62
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6d0], eax
cmp dword [ebp - 0x6d0], 0
je 0x4bead0
cmp dword [ebp - 0x6d0], 1
je 0x4beaed
jmp 0x4beb08
mov ecx, dword [ebp - 0x420]
push ecx
push 0x5accfc
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0xc
jmp 0x4beb08
mov eax, dword [ebp - 0x420]
push eax
push 0x5acd0c
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x6bc]
push edx
push 0x104
lea eax, [ebp - 0x390]
push eax
push 0x5d96c8
lea ecx, [ebp - 0x414]
push ecx
push 0x5acd20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x390]
push edx
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x4beb62
lea eax, [ebp - 0x390]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0054bec0
add esp, 8
mov dword [ebp - 0x6c0], 1
jmp 0x4be9ab
cmp dword [ebp - 0x6c0], 0
jne 0x4bf508
push 0x5acd30
lea edx, [ebp - 0x28c]
push edx
call fcn.0054bec0
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x4beb94
cmp dword [ebp + 0x14], 1
jne 0x4bebda
push 0xff
push 0
lea eax, [ebp - 0x5a8]
push eax
call fcn.0054bfb0
add esp, 0xc
lea ecx, [ebp - 0x5a8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x6cc]
call fcn.004d3b7d
test eax, eax
je 0x4bebda
lea eax, [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0054bec0
add esp, 8
cmp dword [ebp + 0x14], 3
jne 0x4bebf9
push 0x5acd38
lea edx, [ebp - 0x28c]
push edx
call fcn.0054bec0
add esp, 8
jmp 0x4becc1
cmp dword [ebp + 0x14], 4
jne 0x4bec18
push 0x5acd48
lea eax, [ebp - 0x28c]
push eax
call fcn.0054bec0
add esp, 8
jmp 0x4becc1
cmp dword [ebp + 0x14], 5
jne 0x4bec37
push 0x5acd58
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0054bec0
add esp, 8
jmp 0x4becc1
cmp dword [ebp + 0x14], 6
jne 0x4bec53
push 0x5acd68
lea edx, [ebp - 0x28c]
push edx
call fcn.0054bec0
add esp, 8
jmp 0x4becc1
cmp dword [ebp + 0x14], 7
jne 0x4bec6f
push 0x5acd7c
lea eax, [ebp - 0x28c]
push eax
call fcn.0054bec0
add esp, 8
jmp 0x4becc1
cmp dword [ebp + 0x14], 8
jne 0x4bec8b
push 0x5acd98
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0054bec0
add esp, 8
jmp 0x4becc1
cmp dword [ebp + 0x14], 9
jne 0x4beca7
push 0x5acda8
lea edx, [ebp - 0x28c]
push edx
call fcn.0054bec0
add esp, 8
jmp 0x4becc1
cmp dword [ebp + 0x14], 0xa
jne 0x4becc1
push 0x5acdb8
lea eax, [ebp - 0x28c]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x6bc]
push ecx
push 0
push 0x5acdc8
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x4a8], eax
cmp dword [ebp + 0x14], 0
jne 0x4bee07
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x16
jl 0x4bed69
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x1b
jg 0x4bed69
mov edx, dword [ebp - 0x5b3]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b4]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b5]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b6]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b7]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xff
push ecx
push str.FLASH__.2X_.2X_.2X_.2X_.2X_.2X_ISP
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0x20
jmp 0x4bee07
cmp dword [ebp - 0x4a8], 0
je 0x4bedc0
cmp dword [ebp + 0x1c], 0
je 0x4bedc0
mov eax, dword [ebp - 0x5b5]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b6]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b7]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b8]
and eax, 0xff
push eax
push 0x5ace08
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0x18
jmp 0x4bee07
mov edx, dword [ebp - 0x5b5]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b6]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b8]
and edx, 0xff
push edx
push 0x5ace30
lea eax, [ebp - 0x414]
push eax
call fcn.0054c45b
add esp, 0x18
cmp dword [ebp + 0x14], 1
jne 0x4bef2c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x16
jl 0x4bee8e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x1b
jg 0x4bee8e
mov eax, dword [ebp - 0x5b3]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b4]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b5]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b6]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b8]
and edx, 0xff
push edx
push str.FLASH__.2X_.2X_.2X_.2X_.2X_.2X_PTEST
lea eax, [ebp - 0x414]
push eax
call fcn.0054c45b
add esp, 0x20
jmp 0x4bef2c
cmp dword [ebp - 0x4a8], 0
je 0x4beee6
cmp dword [ebp + 0x1c], 0
je 0x4beee6
mov ecx, dword [ebp - 0x5b5]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b6]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b7]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xff
push ecx
push 0x5ace74
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0x18
jmp 0x4bef2c
mov eax, dword [ebp - 0x5b5]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b6]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b7]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b8]
and eax, 0xff
push eax
push 0x5acea0
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0x18
cmp dword [ebp + 0x14], 3
jne 0x4befd5
cmp dword [ebp - 0x4a8], 0
je 0x4bef8e
cmp dword [ebp + 0x1c], 0
je 0x4bef8e
mov edx, dword [ebp - 0x5b5]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b6]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b8]
and edx, 0xff
push edx
push 0x5acec0
lea eax, [ebp - 0x414]
push eax
call fcn.0054c45b
add esp, 0x18
jmp 0x4befd5
mov ecx, dword [ebp - 0x5b5]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b6]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b7]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xff
push ecx
push 0x5acee8
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0x18
cmp dword [ebp + 0x14], 4
jne 0x4bf03b
mov eax, dword [ebp - 0x5b3]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b4]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b5]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b6]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b8]
and edx, 0xff
push edx
push 0x5acf04
lea eax, [ebp - 0x414]
push eax
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 5
jne 0x4bf0a1
mov ecx, dword [ebp - 0x5b3]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b4]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b5]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b6]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b7]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b8]
and eax, 0xff
push eax
push 0x5acf2c
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 6
jne 0x4bf107
mov edx, dword [ebp - 0x5b3]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b4]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b5]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b6]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b7]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xff
push ecx
push 0x5acf4c
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 7
jne 0x4bf16d
mov eax, dword [ebp - 0x5b3]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b4]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b5]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b6]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b8]
and edx, 0xff
push edx
push 0x5acf6c
lea eax, [ebp - 0x414]
push eax
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 8
jne 0x4bf1d3
mov ecx, dword [ebp - 0x5b3]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b4]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b5]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b6]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b7]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b8]
and eax, 0xff
push eax
push 0x5acf8c
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 9
jne 0x4bf239
mov edx, dword [ebp - 0x5b3]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b4]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b5]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b6]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b7]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xff
push ecx
push 0x5acfac
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 0xa
jne 0x4bf29f
mov eax, dword [ebp - 0x5b3]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b4]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b5]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b6]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b8]
and edx, 0xff
push edx
push 0x5acfcc
lea eax, [ebp - 0x414]
push eax
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 0xb
jne 0x4bf305
mov ecx, dword [ebp - 0x5b3]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b4]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b5]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b6]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b7]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b8]
and eax, 0xff
push eax
push 0x5acfec
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 0xc
jne 0x4bf36b
mov edx, dword [ebp - 0x5b3]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b4]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b5]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b6]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b7]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b8]
and ecx, 0xff
push ecx
push 0x5ad010
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 0xd
jne 0x4bf3d1
mov eax, dword [ebp - 0x5b3]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b4]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b5]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b6]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b8]
and edx, 0xff
push edx
push 0x5ad034
lea eax, [ebp - 0x414]
push eax
call fcn.0054c45b
add esp, 0x20
cmp dword [ebp + 0x14], 0xe
jne 0x4bf437
mov ecx, dword [ebp - 0x5b3]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b4]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b5]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x5b6]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x5b7]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x5b8]
and eax, 0xff
push eax
push 0x5ad058
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0x20
push 0x104
push 0
lea edx, [ebp - 0x390]
push edx
call fcn.0054bfb0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push 0x5ad07c
lea edx, [ebp - 0x204]
push edx
call fcn.0054c45b
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call fcn.00536ebf
add esp, 4
lea ecx, [ebp - 0x6bc]
push ecx
push 0x104
lea edx, [ebp - 0x390]
push edx
push 0x5d96cc
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4bf508
lea edx, [ebp - 0x390]
push edx
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x4bf508
lea eax, [ebp - 0x390]
push eax
push 0x5ad0a4
lea ecx, [ebp - 0x204]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call fcn.00536ebf
add esp, 4
lea eax, [ebp - 0x390]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0054bec0
add esp, 8
mov dword [ebp - 0x6c0], 1
mov eax, dword [ebp - 0x6c0]
pop ebx
mov esp, ebp
pop ebp
ret 0x18