Function at 0x4372a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adbd6
mov eax, dword fs:[0]
push eax
mov eax, 0x30e0
call fcn.005890e0
mov eax, dword [0x65ee20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
je 0x4372fd
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 1
je 0x4372fd
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 7
je 0x4372fd
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x11
jne 0x437302
jmp 0x4377c6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 4
je 0x43733c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 3
je 0x43733c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 6
je 0x43733c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 9
je 0x43733c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xf
je 0x43733c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x10
jne 0x437429
mov eax, dword [0x660f20]
add eax, 1
mov dword [0x660f20], eax
mov eax, dword [0x660f20]
xor edx, edx
mov ecx, 0x12c
div ecx
test edx, edx
jne 0x43736a
push 0
push str.11050000
mov ecx, dword [ebp - 0x14]
call fcn.00433a90
mov ecx, dword [ebp - 0x14]
add ecx, 0x220
call fcn.00411010
push eax
push 0
push str.StartingShotTaskDownloadTime
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x200]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x200], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x1fc]
jbe 0x437427
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x1fc], ecx
mov byte [ebp - 0x101c], 0
push 0xfff
push 0
lea eax, [ebp - 0x101b]
push eax
call fcn.00588e50
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1fc]
push ecx
push 0x5ebe68
lea edx, [ebp - 0x101c]
push edx
call fcn.0058900d
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x220
call fcn.00411010
push eax
lea eax, [ebp - 0x101c]
push eax
push str.StartingShotTaskDownloadTime
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x437433
mov dword [0x660f20], 0
mov dword [ebp - 0x2050], 0
jmp 0x43744e
mov eax, dword [ebp - 0x2050]
add eax, 1
mov dword [ebp - 0x2050], eax
cmp dword [ebp - 0x2050], 0xf
jge 0x437769
push 0x1030
push 0
lea eax, [ebp - 0x204c]
push eax
call fcn.00588e50
add esp, 0xc
lea eax, [ebp - 0x204c]
push eax
mov ecx, dword [ebp - 0x2050]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4 + 0x878]
push eax
call fcn.005096f0
mov dword [ebp - 0x2054], eax
cmp dword [ebp - 0x2054], 0
jne 0x437724
mov dword [ebp - 0x2058], 0
lea eax, [ebp - 0x2058]
push eax
mov ecx, dword [ebp - 0x2050]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4 + 0x878]
push eax
call fcn.005097f0
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + eax + 0x8b4], 0
jne 0x4375e6
cmp dword [ebp - 0x2058], 0
je 0x4375e6
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x8b4], 1
mov eax, dword [ebp - 0x2050]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00434d40
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1bc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004377f0
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + eax + 0x6b8]
call fcn.00411010
push eax
lea ecx, [ebp - 0x2074]
call fcn.00410da0
mov dword [ebp - 4], 0
push 0x632dce
call fcn.005884c0
add esp, 4
test eax, eax
je 0x4375b9
push 0
lea ecx, [ebp - 0x2074]
call fcn.00411010
push eax
call fcn.0058a8a0
add esp, 8
cmp eax, 0xffffffff
jne 0x4375b9
lea eax, [ebp - 0x2074]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x31c
call fcn.00411010
push eax
call fcn.0040faf0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4375b9
push 0x632dce
lea ecx, [ebp - 0x2074]
call fcn.0040cc20
push 0x632dce
lea ecx, [ebp - 0x2074]
call fcn.00411010
push eax
push str.11080000
call fcn.00507850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2074]
call fcn.00411660
mov eax, dword [ebp - 0x2050]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x878]
push edx
call fcn.00509d60
mov dword [ebp - 0x2078], eax
mov eax, dword [ebp - 0x2078]
push eax
call fcn.0044f96b
add esp, 4
mov dword [ebp - 0x30e8], eax
mov ecx, dword [ebp - 0x30e8]
mov dword [ebp - 0x207c], ecx
mov eax, dword [ebp - 0x207c]
push eax
call fcn.0058a774
add esp, 4
push eax
push 0
mov ecx, dword [ebp - 0x207c]
push ecx
call fcn.00588e50
add esp, 0xc
mov eax, dword [ebp - 0x2078]
push eax
mov ecx, dword [ebp - 0x207c]
push ecx
mov edx, dword [ebp - 0x2050]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4 + 0x878]
push ecx
call fcn.00509c70
mov dword [ebp - 0x2080], eax
cmp dword [ebp - 0x2080], 0
jle 0x437709
mov byte [ebp - 0x3080], 0
push 0xfff
push 0
lea eax, [ebp - 0x307f]
push eax
call fcn.00588e50
add esp, 0xc
push 0x632dce
lea ecx, [ebp - 0x309c]
call fcn.00410da0
mov dword [ebp - 4], 1
mov dword [ebp - 0x30a0], 0
jmp 0x4376ca
mov eax, dword [ebp - 0x30a0]
add eax, 1
mov dword [ebp - 0x30a0], eax
mov eax, dword [ebp - 0x30a0]
cmp eax, dword [ebp - 0x2080]
jge 0x4376f7
mov eax, dword [ebp - 0x2080]
push eax
mov ecx, dword [ebp - 0x30a0]
push ecx
mov edx, dword [ebp - 0x207c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00438f50
jmp 0x4376bb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x309c]
call fcn.00411660
mov eax, dword [ebp - 0x207c]
mov dword [ebp - 0x30e4], eax
mov ecx, dword [ebp - 0x30e4]
push ecx
call fcn.0044f960
add esp, 4
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x437751
mov ecx, dword [ebp - 0x2050]
imul ecx, ecx, 0x3018
mov edx, dword [ebp - 0x14]
cmp dword [edx + ecx + 0x8b4], 0
je 0x437751
mov dword [ebp - 0x30ec], 1
jmp 0x43775b
mov dword [ebp - 0x30ec], 0
mov al, byte [ebp - 0x30ec]
mov byte [ebp - 0x15], al
jmp 0x43743f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xa
je 0x4377c6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xb
je 0x4377c6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xc
je 0x4377c6
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x4377c6
mov ecx, dword [ebp - 0x14]
call fcn.004325e0
test eax, eax
jg 0x4377c6
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x220
call fcn.00411010
push eax
push str.COMPLETE
push str.StartingShotTaskIsComplete
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058845d
mov esp, ebp
pop ebp
ret