Function at 0x437280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adb66
mov eax, dword fs:[0]
push eax
mov eax, 0x30e0
call fcn.005890a0
mov eax, dword [0x632e20]
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 0x4372dd
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 1
je 0x4372dd
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 7
je 0x4372dd
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x11
jne 0x4372e2
jmp 0x4377a6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 4
je 0x43731c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 3
je 0x43731c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 6
je 0x43731c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 9
je 0x43731c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xf
je 0x43731c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x10
jne 0x437409
mov eax, dword [0x634e70]
add eax, 1
mov dword [0x634e70], eax
mov eax, dword [0x634e70]
xor edx, edx
mov ecx, 0x12c
div ecx
test edx, edx
jne 0x43734a
push 0
push str.11050000
mov ecx, dword [ebp - 0x14]
call fcn.00433a80
mov ecx, dword [ebp - 0x14]
add ecx, 0x1f4
call fcn.004110d0
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 + 0x1d4]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1d4], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x1d0]
jbe 0x437407
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x1d0], ecx
mov byte [ebp - 0x101c], 0
push 0xfff
push 0
lea eax, [ebp - 0x101b]
push eax
call fcn.00588e10
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1d0]
push ecx
push 0x5cade8
lea edx, [ebp - 0x101c]
push edx
call fcn.00588fcd
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x1f4
call fcn.004110d0
push eax
lea eax, [ebp - 0x101c]
push eax
push str.StartingShotTaskDownloadTime
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x437413
mov dword [0x634e70], 0
mov dword [ebp - 0x2050], 0
jmp 0x43742e
mov eax, dword [ebp - 0x2050]
add eax, 1
mov dword [ebp - 0x2050], eax
cmp dword [ebp - 0x2050], 4
jge 0x437749
push 0x1030
push 0
lea eax, [ebp - 0x204c]
push eax
call fcn.00588e10
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 + 0x4b0]
push eax
call fcn.00509420
mov dword [ebp - 0x2054], eax
cmp dword [ebp - 0x2054], 0
jne 0x437704
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 + 0x4b0]
push eax
call fcn.00509520
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + eax + 0x4c0], 0
jne 0x4375c6
cmp dword [ebp - 0x2058], 0
je 0x4375c6
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x4c0], 1
mov eax, dword [ebp - 0x2050]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00434d20
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1bc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004377d0
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + eax + 0x424]
call fcn.004110d0
push eax
lea ecx, [ebp - 0x2074]
call fcn.00410e60
mov dword [ebp - 4], 0
push 0x606d46
call fcn.00588480
add esp, 4
test eax, eax
je 0x437599
push 0
lea ecx, [ebp - 0x2074]
call fcn.004110d0
push eax
call fcn.0058a860
add esp, 8
cmp eax, 0xffffffff
jne 0x437599
lea eax, [ebp - 0x2074]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2f0
call fcn.004110d0
push eax
call fcn.0040fb80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x437599
push 0x606d46
lea ecx, [ebp - 0x2074]
call fcn.0040c050
push 0x606d46
lea ecx, [ebp - 0x2074]
call fcn.004110d0
push eax
push str.11080000
call fcn.00507580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2074]
call fcn.00411720
mov eax, dword [ebp - 0x2050]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x4b0]
push edx
call fcn.00509a90
mov dword [ebp - 0x2078], eax
mov eax, dword [ebp - 0x2078]
push eax
call fcn.0044f69b
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.0058a734
add esp, 4
push eax
push 0
mov ecx, dword [ebp - 0x207c]
push ecx
call fcn.00588e10
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 + 0x4b0]
push ecx
call fcn.005099a0
mov dword [ebp - 0x2080], eax
cmp dword [ebp - 0x2080], 0
jle 0x4376e9
mov byte [ebp - 0x3080], 0
push 0xfff
push 0
lea eax, [ebp - 0x307f]
push eax
call fcn.00588e10
add esp, 0xc
push 0x606d46
lea ecx, [ebp - 0x309c]
call fcn.00410e60
mov dword [ebp - 4], 1
mov dword [ebp - 0x30a0], 0
jmp 0x4376aa
mov eax, dword [ebp - 0x30a0]
add eax, 1
mov dword [ebp - 0x30a0], eax
mov eax, dword [ebp - 0x30a0]
cmp eax, dword [ebp - 0x2080]
jge 0x4376d7
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.00438f30
jmp 0x43769b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x309c]
call fcn.00411720
mov eax, dword [ebp - 0x207c]
mov dword [ebp - 0x30e4], eax
mov ecx, dword [ebp - 0x30e4]
push ecx
call fcn.0044f690
add esp, 4
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x437731
mov ecx, dword [ebp - 0x2050]
imul ecx, ecx, 0x3018
mov edx, dword [ebp - 0x14]
cmp dword [edx + ecx + 0x4c0], 0
je 0x437731
mov dword [ebp - 0x30ec], 1
jmp 0x43773b
mov dword [ebp - 0x30ec], 0
mov al, byte [ebp - 0x30ec]
mov byte [ebp - 0x15], al
jmp 0x43741f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xa
je 0x4377a6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xb
je 0x4377a6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xc
je 0x4377a6
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x4377a6
mov ecx, dword [ebp - 0x14]
call fcn.004325d0
test eax, eax
jg 0x4377a6
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x1f4
call fcn.004110d0
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.0058841d
mov esp, ebp
pop ebp
ret