Function at 0x479c12
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x56d84c]
mov dword [ebp - 8], eax
push 0
push 0x1f4
push 0x300
mov ecx, dword [ebp - 0x28]
call fcn.00404720
cmp dword [ebp - 8], 0
je 0x479c4e
push 0
mov ecx, dword [ebp - 8]
call fcn.00415701
mov dword [ebp - 0xc], 1
jmp 0x479c60
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x11
jge 0x479f20
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov dword [edx + 0x56e39c], 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x56e3c9], ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x56e398], eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
mov dword [ecx + 0x56e3a0], 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov dword [edx + 0x56e3ac], 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov dword [eax + 0x56e3b0], 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
mov dword [ecx + 0x56e3a8], 0
push 0x15
push 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
add edx, 0x56e3b4
push edx
call fcn.004e9480
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax*4 + 0x3f50], 0
je 0x479d11
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4 + 0x3f50]
mov byte [ecx], 0xfe
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x674458]
cmp eax, 1
jne 0x479f1b
cmp dword [0x56e334], 0
jne 0x479d37
cmp dword [0x56e338], 0
je 0x479d67
push 0x15
mov ecx, dword [ebp - 0xc]
sub ecx, 1
imul ecx, ecx, 0x15
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx + 0x3f94]
push eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
add ecx, 0x56e3b4
push ecx
call fcn.004e9b20
add esp, 0xc
jmp 0x479ed4
push 0x15
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.004e9480
add esp, 0xc
cmp dword [0x56e308], 0
je 0x479da1
mov eax, dword [ebp - 0x28]
add eax, 0x8ec
push eax
push 0x15
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x5603ec
push 0x5603f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x24]
test edx, edx
jne 0x479dca
mov eax, dword [ebp - 0x28]
add eax, 0x8ec
push eax
push 0x15
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x5603fc
push 0x560404
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x15
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
add eax, 0x56e3b4
push eax
call fcn.004e9b20
add esp, 0xc
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x1134], 0
jne 0x479e5c
mov edx, dword [ebp - 0x28]
add edx, 0x1151
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [0x56e2c8]
push ecx
call fcn.004b91a2
add esp, 0xc
mov edx, dword [ebp - 0x28]
add edx, 0x8ec
push edx
lea eax, [ebp - 0x24]
push eax
push 0x560410
push str.IDENTIFY
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x56e308], 0
je 0x479e52
mov ecx, dword [ebp - 0x28]
add ecx, 0x8ec
push ecx
lea edx, [ebp - 0x24]
push edx
push str.BEGINSN
push 0x56042c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 8]
call fcn.0041fffd
jmp 0x479ebe
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1134], 3
jne 0x479ebe
push 0x15
push 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
add ecx, 0x56e3b4
push ecx
call fcn.004e9480
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x116c]
push ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
add edx, 0x56e3b4
push edx
call fcn.004b92f4
add esp, 0xc
push 0x15
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
add eax, 0x56e3b4
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004e9b20
add esp, 0xc
push 0
push 3
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0xd4
call fcn.0047eb30
cmp dword [ebp - 4], 0
jne 0x479ef1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov dword [eax + 0x56e3b0], 1
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
add ecx, 0x56e398
push ecx
push 0x4737ee
call fcn.0050e695
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x479c57
mov esp, ebp
pop ebp
ret