Function at 0x40b7b9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4589eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push edi
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.00404cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.00404cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.00404cc0
mov byte [ebp - 4], 3
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x130], 0
call fcn.0040cf90
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x12c]
call fcn.004508ba
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x250]
call fcn.0040ce90
mov ecx, dword [ebp + 8]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40b8e5
mov dword [ebp - 0x25c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.0045090f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.0045035d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0045035d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0045035d
mov eax, dword [ebp - 0x25c]
jmp 0x40c726
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x134]
call fcn.0041276b
test eax, eax
jne 0x40ba51
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x150], 0
mov dword [ebp - 0x130], 0
jmp 0x40b927
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 4
jge 0x40b9ee
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx + eax*4 + 0x168]
call fcn.004502e8
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x178]
call fcn.004502e8
push 0x472060
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x188]
call fcn.004504e6
push 0x472064
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx + eax*4 + 0x198]
call fcn.004504e6
push 0x472068
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x1a8]
call fcn.004504e6
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
mov dword [edx + ecx*4 + 0x1d8], 0
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + eax*4 + 0x224], 0xff
jmp 0x40b918
mov dword [ebp - 0x260], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.0045090f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.0045035d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0045035d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0045035d
mov eax, dword [ebp - 0x260]
jmp 0x40c726
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x12c]
call fcn.004509cc
test eax, eax
je 0x40bb08
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00451017
push 0x46c824
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044b874
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x27c]
call fcn.00404d20
push eax
push 0x473
mov ecx, dword [ebp - 0x274]
call fcn.0044f907
mov ecx, eax
call fcn.0044f9c6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.0045035d
lea ecx, [ebp - 0x12c]
call fcn.00450be7
push 1
push 0x473
mov ecx, dword [ebp - 0x274]
call fcn.0044f907
mov ecx, eax
call fcn.0044fac7
jmp 0x40bb21
push 0
push 0x473
mov ecx, dword [ebp - 0x274]
call fcn.0044f907
mov ecx, eax
call fcn.0044fac7
mov edx, dword [0x45d258]
push edx
push 0x46c838
mov eax, dword [ebp - 0x274]
add eax, 0x160
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.004505f2
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.004505f2
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x118]
call fcn.00450496
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x26c]
call fcn.0045035d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.0045035d
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
push 0
mov ecx, dword [0x45d1e0]
push ecx
mov edx, dword [0x45d1dc]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x1f0], eax
cmp dword [ebp + 0xc], 0
je 0x40bc5e
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x134], 1
jne 0x40bc23
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x1f0], 2
jg 0x40bc23
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x1f0]
add edx, 3
mov eax, dword [ebp - 0x274]
mov dword [eax + 0x1f0], edx
jmp 0x40bc5c
mov ecx, dword [ebp - 0x274]
cmp dword [ecx + 0x134], 0
jne 0x40bc5c
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x1f0], 2
jle 0x40bc5c
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x1f0]
sub ecx, 3
mov edx, dword [ebp - 0x274]
mov dword [edx + 0x1f0], ecx
jmp 0x40bc98
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x1f0], 2
jg 0x40bc98
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x134], 1
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
add eax, 3
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x1f0], eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
cdq
mov ecx, 3
idiv ecx
mov eax, dword [ebp - 0x274]
mov dword [eax + 0x1ec], edx
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x1f0]
imul edx, edx, 0x30
mov eax, dword [edx + 0x45d270]
push eax
mov ecx, dword [0x45d1e4]
push ecx
mov edx, dword [0x45d1dc]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x1f4], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d27c]
push ecx
mov edx, dword [0x45d1f0]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x200], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d280]
push ecx
mov edx, dword [0x45d1ec]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x204], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d274]
push ecx
mov edx, dword [0x45d1e8]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x1f8], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d284]
push ecx
mov edx, dword [0x45d1f4]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x208], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d28c]
push ecx
mov edx, dword [0x45d200]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x210], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d278]
push ecx
mov edx, dword [0x45d1f8]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x1fc], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d288]
push ecx
mov edx, dword [0x45d1fc]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x20c], eax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
xor ecx, ecx
mov cx, word [eax + 0x45d290]
push ecx
mov edx, dword [0x45d204]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov word [ecx + 0x214], ax
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x1f0]
imul eax, eax, 0x30
mov ecx, dword [eax + 0x45d294]
push ecx
mov edx, dword [0x45d208]
push edx
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x218], eax
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x218], 0
jne 0x40c182
mov dword [ebp - 0x130], 0
jmp 0x40bf75
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 4
jge 0x40c17d
push 0x104
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043d9d0
add esp, 0xc
mov edx, dword [ebp - 0x130]
add edx, 1
push edx
mov eax, dword [0x45d23c]
push eax
push 0x46c83c
lea ecx, [ebp - 0x254]
push ecx
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0
lea ecx, [ebp - 0x254]
call fcn.00404d20
push eax
mov eax, dword [0x45d238]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x160]
push eax
push 0x46c844
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea eax, [edx + ecx*4 + 0x178]
push eax
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x110]
push ecx
push 0x46c84c
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x168]
push ecx
call fcn.0044b146
add esp, 0xc
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x178]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40c08e
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x168]
call fcn.0040cec0
test eax, eax
je 0x40c131
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx + eax*4 + 0x168]
call fcn.004502e8
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x178]
call fcn.004502e8
push 0x47206c
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x188]
call fcn.004504e6
push 0x472070
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx + eax*4 + 0x198]
call fcn.004504e6
push 0x472074
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x1a8]
call fcn.004504e6
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
mov dword [edx + ecx*4 + 0x1d8], 0
jmp 0x40bf66
mov eax, dword [ebp - 0x130]
add eax, 1
push eax
mov ecx, dword [ebp - 0x274]
call fcn.0040ad58
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + ecx*4 + 0x224]
push eax
mov ecx, dword [ebp - 0x130]
and ecx, 0xff
add ecx, 0x300
push ecx
mov ecx, dword [ebp - 0x274]
call fcn.0040b2af
jmp 0x40bf66
jmp 0x40c3ae
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x218], 1
jne 0x40c3ae
mov dword [ebp - 0x130], 0
jmp 0x40c1b0
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 4
jge 0x40c3ae
push 0x104
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043d9d0
add esp, 0xc
mov edx, dword [0x45d24c]
push edx
push 0x46c850
lea eax, [ebp - 0x254]
push eax
call fcn.0044b146
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
lea ecx, [ebp - 0x254]
call fcn.00404d20
push eax
mov edx, dword [0x45d250]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x160]
push edx
push 0x46c854
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea edx, [ecx + eax*4 + 0x178]
push edx
call fcn.0044b146
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push 0x46c85c
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea eax, [edx + ecx*4 + 0x168]
push eax
call fcn.0044b146
add esp, 0xc
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x178]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40c2c1
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx + eax*4 + 0x168]
call fcn.0040cec0
test eax, eax
je 0x40c364
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x168]
call fcn.004502e8
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x178]
call fcn.004502e8
push 0x472078
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx + eax*4 + 0x188]
call fcn.004504e6
push 0x47207c
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x198]
call fcn.004504e6
push 0x472080
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x1a8]
call fcn.004504e6
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
mov dword [ecx + eax*4 + 0x1d8], 0
jmp 0x40c1a1
mov edx, dword [ebp - 0x130]
add edx, 1
push edx
mov ecx, dword [ebp - 0x274]
call fcn.0040ad58
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + eax*4 + 0x224]
push edx
mov eax, dword [ebp - 0x130]
and eax, 0xff
add eax, 0x300
push eax
mov ecx, dword [ebp - 0x274]
call fcn.0040b2af
jmp 0x40c1a1
mov ecx, dword [ebp - 0x274]
cmp dword [ecx + 0x1f0], 3
je 0x40c3cc
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x1f0], 0
jne 0x40c3fe
mov eax, dword [0x45d240]
push eax
lea ecx, [ebp - 0x114]
call fcn.004504e6
mov dword [ebp - 0x11c], 4
mov ecx, dword [0x45d1cc]
push ecx
lea ecx, [ebp - 0x138]
call fcn.004504e6
jmp 0x40c4b3
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x1f0], 4
je 0x40c41c
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x1f0], 1
jne 0x40c44c
mov ecx, dword [0x45d244]
push ecx
lea ecx, [ebp - 0x114]
call fcn.004504e6
mov dword [ebp - 0x11c], 4
mov edx, dword [0x45d1d0]
push edx
lea ecx, [ebp - 0x138]
call fcn.004504e6
jmp 0x40c4b3
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x1f0], 5
je 0x40c46a
mov ecx, dword [ebp - 0x274]
cmp dword [ecx + 0x1f0], 2
jne 0x40c499
mov edx, dword [0x45d248]
push edx
lea ecx, [ebp - 0x114]
call fcn.004504e6
mov dword [ebp - 0x11c], 4
mov eax, dword [0x45d1d4]
push eax
lea ecx, [ebp - 0x138]
call fcn.004504e6
jmp 0x40c4b3
push 0x472084
lea ecx, [ebp - 0x114]
call fcn.004504e6
mov dword [ebp - 0x11c], 0
mov ecx, dword [0x45d258]
push ecx
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x164]
push eax
push 0x46c860
lea ecx, [ebp - 0x118]
push ecx
call fcn.0044b146
add esp, 0x10
mov dword [ebp - 0x130], 0
jmp 0x40c4f6
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x11c]
jge 0x40c644
push 0x104
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043d9d0
add esp, 0xc
mov edx, dword [ebp - 0x130]
add edx, 1
push edx
mov eax, dword [ebp - 0x138]
push eax
push 0x46c868
lea ecx, [ebp - 0x254]
push ecx
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x118]
call fcn.00404d20
push eax
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0
lea ecx, [ebp - 0x254]
call fcn.00404d20
push eax
mov eax, dword [0x45d1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x1c8]
call fcn.004504e6
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x1c8]
call fcn.0040cec0
test eax, eax
jne 0x40c622
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea edx, [ecx + eax*4 + 0x1c8]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx + eax*4 + 0x1b8]
call fcn.00450496
push 0x5c
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x1c8]
call fcn.0044ade3
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x1b8]
call fcn.0044abe2
jmp 0x40c63f
push 0x472088
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x1b8]
call fcn.004504e6
jmp 0x40c4e7
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x130], eax
jmp 0x40c661
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x130], 4
jge 0x40c6a6
push 0x47208c
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x274]
lea ecx, [eax + edx*4 + 0x1c8]
call fcn.004504e6
push 0x472090
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x274]
lea ecx, [edx + ecx*4 + 0x1b8]
call fcn.004504e6
jmp 0x40c652
push 0
push 0xc00
mov ecx, dword [ebp - 0x274]
call fcn.0040b2af
mov eax, dword [ebp - 0x274]
mov dword [eax + 0x150], 1
mov dword [ebp - 0x270], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.0045090f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.0045035d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0045035d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0045035d
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8