Function at 0x404f80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493a9f
mov eax, dword fs:[0]
push eax
sub esp, 0x7a8
mov eax, dword [0x4d13f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7ac], ecx
mov dword [ebp - 0x784], 0xa
mov dword [ebp - 0x788], 0xa
mov dword [ebp - 0x61c], 0x1d6
mov dword [ebp - 0x618], 0x14
mov dword [ebp - 0x77c], 0
mov dword [ebp - 0x778], 0
mov dword [ebp - 0x774], 0x32
mov dword [ebp - 0x770], 0x64
mov dword [ebp - 0x76c], 0xaa
mov dword [ebp - 0x768], 0xe6
mov dword [ebp - 0x764], 0x17c
mov dword [ebp - 0x760], 0x1d6
mov eax, dword [0x49db98]
mov dword [ebp - 0x614], eax
mov cx, word [0x49db9c]
mov word [ebp - 0x610], cx
push 0xf9
push 0
lea edx, [ebp - 0x60e]
push edx
call fcn.0047ba50
add esp, 0xc
mov eax, dword [0x49dba0]
mov dword [ebp - 0x515], eax
mov cx, word [0x49dba4]
mov word [ebp - 0x511], cx
push 0xf9
push 0
lea edx, [ebp - 0x50f]
push edx
call fcn.0047ba50
add esp, 0xc
mov eax, dword [0x49dba8]
mov dword [ebp - 0x416], eax
mov ecx, dword [0x49dbac]
mov dword [ebp - 0x412], ecx
mov dx, word [0x49dbb0]
mov word [ebp - 0x40e], dx
push 0xf5
push 0
lea eax, [ebp - 0x40c]
push eax
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [0x49dbb4]
mov dword [ebp - 0x317], ecx
mov edx, dword [0x49dbb8]
mov dword [ebp - 0x313], edx
mov al, byte [0x49dbbc]
mov byte [ebp - 0x30f], al
push 0xf6
push 0
lea ecx, [ebp - 0x30e]
push ecx
call fcn.0047ba50
add esp, 0xc
mov edx, dword [0x49dbc0]
mov dword [ebp - 0x218], edx
mov eax, dword [0x49dbc4]
mov dword [ebp - 0x214], eax
mov ecx, dword [0x49dbc8]
mov dword [ebp - 0x210], ecx
mov edx, dword [0x49dbcc]
mov dword [ebp - 0x20c], edx
mov eax, dword [0x49dbd0]
mov dword [ebp - 0x208], eax
mov cx, word [0x49dbd4]
mov word [ebp - 0x204], cx
push 0xe9
push 0
lea edx, [ebp - 0x202]
push edx
call fcn.0047ba50
add esp, 0xc
mov eax, dword [0x49dbd8]
mov dword [ebp - 0x119], eax
mov cx, word [0x49dbdc]
mov word [ebp - 0x115], cx
mov dl, byte [0x49dbde]
mov byte [ebp - 0x113], dl
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x112]
push eax
call fcn.0047ba50
add esp, 0xc
mov dword [ebp - 0x78c], 5
mov dword [ebp - 0x628], 5
lea ecx, [ebp - 0x75c]
call fcn.00455734
mov dword [ebp - 4], 0
mov dword [ebp - 0x624], 1
lea ecx, [ebp - 0x620]
call fcn.004112b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x624]
mov dword [ebp - 0x7b0], ecx
mov edx, dword [ebp - 0x7b0]
push edx
push 0x49dbe0
lea eax, [ebp - 0x620]
push eax
call fcn.00411460
add esp, 0xc
mov ecx, dword [ebp - 0x624]
add ecx, 1
mov dword [ebp - 0x624], ecx
mov ecx, dword [ebp - 0x7ac]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea edx, [ebp - 0x73c]
push edx
push 0
lea ecx, [ebp - 0x620]
call fcn.00411270
push eax
mov ecx, dword [ebp - 0x7ac]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4052b9
lea eax, [ebp - 0x73c]
push eax
push 0x49dbe8
lea ecx, [ebp - 0x620]
push ecx
call fcn.00411460
add esp, 0xc
lea edx, [ebp - 0x620]
push edx
lea ecx, [ebp - 0x75c]
call fcn.0040cb40
mov eax, dword [ebp - 0x624]
mov dword [ebp - 0x7b4], eax
mov ecx, dword [ebp - 0x7b4]
push ecx
push 0x49dbec
lea edx, [ebp - 0x620]
push edx
call fcn.00411460
add esp, 0xc
mov eax, dword [ebp - 0x624]
add eax, 1
mov dword [ebp - 0x624], eax
jmp 0x405209
mov ecx, dword [ebp - 0x7ac]
call fcn.0040e3f0
mov dword [ebp - 0x748], eax
mov dword [ebp - 0x780], 0
lea ecx, [ebp - 0x75c]
call fcn.0040cb20
add eax, 2
mov dword [ebp - 0x77c], eax
push 0xd
mov ecx, dword [ebp - 0x748]
call fcn.00453dd0
mov ecx, dword [ebp - 0x780]
push ecx
push 1
push 0
lea ecx, [ebp - 0x630]
call fcn.00454b1e
mov byte [ebp - 4], 2
lea edx, [ebp - 0x630]
push edx
mov ecx, dword [ebp - 0x748]
call fcn.00454a84
lea ecx, [ebp - 0x744]
call fcn.0040caf0
mov dword [ebp - 0x744], 0xa
mov dword [ebp - 0x740], 0xa
mov dword [ebp - 0x624], 0
jmp 0x40535b
mov eax, dword [ebp - 0x624]
add eax, 1
mov dword [ebp - 0x624], eax
mov ecx, dword [ebp - 0x624]
cmp ecx, dword [ebp - 0x77c]
jge 0x4053bb
mov edx, dword [ebp - 0x624]
imul edx, edx, 0x14
add edx, dword [ebp - 0x740]
push edx
mov eax, dword [ebp - 0x744]
push eax
lea ecx, [ebp - 0x794]
push ecx
mov ecx, dword [ebp - 0x748]
call fcn.004543a5
mov edx, dword [ebp - 0x624]
imul edx, edx, 0x14
add edx, dword [ebp - 0x740]
push edx
mov eax, dword [ebp - 0x744]
add eax, 0x1d6
push eax
mov ecx, dword [ebp - 0x748]
call fcn.00453eef
jmp 0x40534c
mov dword [ebp - 0x624], 0
jmp 0x4053d6
mov ecx, dword [ebp - 0x624]
add ecx, 1
mov dword [ebp - 0x624], ecx
cmp dword [ebp - 0x624], 7
jge 0x405440
mov edx, dword [ebp - 0x740]
push edx
mov eax, dword [ebp - 0x624]
mov ecx, dword [ebp - 0x744]
add ecx, dword [ebp + eax*4 - 0x778]
push ecx
lea edx, [ebp - 0x79c]
push edx
mov ecx, dword [ebp - 0x748]
call fcn.004543a5
mov eax, dword [ebp - 0x77c]
sub eax, 1
imul eax, eax, 0x14
add eax, dword [ebp - 0x740]
push eax
mov ecx, dword [ebp - 0x624]
mov edx, dword [ebp - 0x744]
add edx, dword [ebp + ecx*4 - 0x778]
push edx
mov ecx, dword [ebp - 0x748]
call fcn.00453eef
jmp 0x4053c7
mov eax, dword [ebp - 0x780]
push eax
mov ecx, dword [ebp - 0x748]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x748]
mov eax, dword [edx + 0x30]
call eax
push 0x11
mov ecx, dword [ebp - 0x748]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x748]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x624], 0
jmp 0x40548a
mov ecx, dword [ebp - 0x624]
add ecx, 1
mov dword [ebp - 0x624], ecx
cmp dword [ebp - 0x624], 6
jge 0x4054fb
mov edx, dword [ebp - 0x624]
imul edx, edx, 0xff
lea eax, [ebp + edx - 0x614]
push eax
lea ecx, [ebp - 0x7a0]
call fcn.00403ca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7a0]
push ecx
mov edx, dword [ebp - 0x740]
add edx, 5
push edx
mov eax, dword [ebp - 0x624]
mov ecx, dword [ebp + eax*4 - 0x778]
mov edx, dword [ebp - 0x744]
lea eax, [edx + ecx + 5]
push eax
mov ecx, dword [ebp - 0x748]
call fcn.0040e000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7a0]
call fcn.00403d20
jmp 0x40547b
mov ecx, dword [ebp - 0x744]
mov dword [ebp - 0x7a8], ecx
mov edx, dword [ebp - 0x740]
mov dword [ebp - 0x7a4], edx
mov eax, dword [ebp - 0x7a4]
push eax
mov ecx, dword [ebp - 0x7a8]
push ecx
mov edx, dword [ebp - 0x748]
push edx
mov ecx, dword [ebp - 0x7ac]
call fcn.00406740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x630]
call fcn.0040cf00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x620]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x75c]
call fcn.004557b1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ac28
mov esp, ebp
pop ebp
ret