Function at 0x478f6a
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 [0x56c3b4]
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 0x478fa6
push 0
mov ecx, dword [ebp - 8]
call fcn.00414e22
mov dword [ebp - 0xc], 1
jmp 0x478fb8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x11
jge 0x479214
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov dword [edx + 0x56cf0c], 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x56cf39], ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x56cf08], eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
mov dword [ecx + 0x56cf10], 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
mov dword [edx + 0x56cf1c], 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x35
mov dword [eax + 0x56cf20], 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
mov dword [ecx + 0x56cf18], 0
push 0x15
push 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
add edx, 0x56cf24
push edx
call fcn.004e8440
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax*4 + 0x3d40], 0
je 0x479069
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4 + 0x3d40]
mov byte [ecx], 0xfe
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x672fc8]
cmp eax, 1
jne 0x47920f
cmp dword [0x56cea0], 0
jne 0x47908f
cmp dword [0x56cea4], 0
je 0x4790bf
push 0x15
mov ecx, dword [ebp - 0xc]
sub ecx, 1
imul ecx, ecx, 0x15
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx + 0x3d84]
push eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
add ecx, 0x56cf24
push ecx
call fcn.004e8ae0
add esp, 0xc
jmp 0x4791c8
push 0x15
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.004e8440
add esp, 0xc
cmp dword [0x56ce74], 0
je 0x4790f9
mov eax, dword [ebp - 0x28]
add eax, 0x8e4
push eax
push 0x15
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x55ef98
push 0x55efa0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x24]
test edx, edx
jne 0x479122
mov eax, dword [ebp - 0x28]
add eax, 0x8e4
push eax
push 0x15
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x55efa8
push 0x55efb0
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, 0x56cf24
push eax
call fcn.004e8ae0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0xf24], 0
jne 0x4791b2
mov edx, dword [ebp - 0x28]
add edx, 0xf41
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [0x56ce38]
push ecx
call fcn.004b8162
add esp, 0xc
mov edx, dword [ebp - 0x28]
add edx, 0x8e4
push edx
lea eax, [ebp - 0x24]
push eax
push 0x55efbc
push str.IDENTIFY
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x56ce74], 0
je 0x4791aa
mov ecx, dword [ebp - 0x28]
add ecx, 0x8e4
push ecx
lea edx, [ebp - 0x24]
push edx
push str.BEGINSN
push 0x55efd8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 8]
call fcn.0041f78e
push 0
push 3
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xd4
call fcn.0047daf0
cmp dword [ebp - 4], 0
jne 0x4791e5
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x35
mov dword [ecx + 0x56cf20], 1
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x35
add edx, 0x56cf08
push edx
push 0x472be2
call fcn.0050d655
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x478faf
mov esp, ebp
pop ebp
ret