Function at 0x4361c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7926
mov eax, dword fs:[0]
push eax
mov eax, 0x30e0
call fcn.00583150
mov eax, dword [0x636d78]
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 0x43621d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 1
je 0x43621d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 7
je 0x43621d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x11
jne 0x436222
jmp 0x4366e6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 4
je 0x43625c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 3
je 0x43625c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 6
je 0x43625c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 9
je 0x43625c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xf
je 0x43625c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x10
jne 0x436349
mov eax, dword [0x638de0]
add eax, 1
mov dword [0x638de0], eax
mov eax, dword [0x638de0]
xor edx, edx
mov ecx, 0x12c
div ecx
test edx, edx
jne 0x43628a
push 0
push str.11050000
mov ecx, dword [ebp - 0x14]
call fcn.004329b0
mov ecx, dword [ebp - 0x14]
add ecx, 0x200
call fcn.00411660
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 + 0x1e0]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1e0], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x1dc]
jbe 0x436347
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x1dc], ecx
mov byte [ebp - 0x101c], 0
push 0xfff
push 0
lea eax, [ebp - 0x101b]
push eax
call fcn.00582ec0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1dc]
push ecx
push 0x5cbd90
lea edx, [ebp - 0x101c]
push edx
call fcn.0058307d
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x200
call fcn.00411660
push eax
lea eax, [ebp - 0x101c]
push eax
push str.StartingShotTaskDownloadTime
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x436353
mov dword [0x638de0], 0
mov dword [ebp - 0x2050], 0
jmp 0x43636e
mov eax, dword [ebp - 0x2050]
add eax, 1
mov dword [ebp - 0x2050], eax
cmp dword [ebp - 0x2050], 7
jge 0x436689
push 0x1030
push 0
lea eax, [ebp - 0x204c]
push eax
call fcn.00582ec0
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 + 0x5b8]
push eax
call fcn.00506f60
mov dword [ebp - 0x2054], eax
cmp dword [ebp - 0x2054], 0
jne 0x436644
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 + 0x5b8]
push eax
call fcn.00507060
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + eax + 0x5d4], 0
jne 0x436506
cmp dword [ebp - 0x2058], 0
je 0x436506
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x5d4], 1
mov eax, dword [ebp - 0x2050]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00433c60
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1bc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00436710
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + eax + 0x4d8]
call fcn.00411660
push eax
lea ecx, [ebp - 0x2074]
call fcn.00410d30
mov dword [ebp - 4], 0
push 0x60ac7e
call fcn.00582530
add esp, 4
test eax, eax
je 0x4364d9
push 0
lea ecx, [ebp - 0x2074]
call fcn.00411660
push eax
call fcn.00584780
add esp, 8
cmp eax, 0xffffffff
jne 0x4364d9
lea eax, [ebp - 0x2074]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2fc
call fcn.00411660
push eax
call fcn.0040fa70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4364d9
push 0x60ac7e
lea ecx, [ebp - 0x2074]
call fcn.0040c050
push 0x60ac7e
lea ecx, [ebp - 0x2074]
call fcn.00411660
push eax
push str.11080000
call fcn.005050a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2074]
call fcn.004115f0
mov eax, dword [ebp - 0x2050]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x5b8]
push edx
call fcn.005075d0
mov dword [ebp - 0x2078], eax
mov eax, dword [ebp - 0x2078]
push eax
call fcn.0044d150
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.00584654
add esp, 4
push eax
push 0
mov ecx, dword [ebp - 0x207c]
push ecx
call fcn.00582ec0
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 + 0x5b8]
push ecx
call fcn.005074e0
mov dword [ebp - 0x2080], eax
cmp dword [ebp - 0x2080], 0
jle 0x436629
mov byte [ebp - 0x3080], 0
push 0xfff
push 0
lea eax, [ebp - 0x307f]
push eax
call fcn.00582ec0
add esp, 0xc
push 0x60ac7e
lea ecx, [ebp - 0x309c]
call fcn.00410d30
mov dword [ebp - 4], 1
mov dword [ebp - 0x30a0], 0
jmp 0x4365ea
mov eax, dword [ebp - 0x30a0]
add eax, 1
mov dword [ebp - 0x30a0], eax
mov eax, dword [ebp - 0x30a0]
cmp eax, dword [ebp - 0x2080]
jge 0x436617
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.00437e70
jmp 0x4365db
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x309c]
call fcn.004115f0
mov eax, dword [ebp - 0x207c]
mov dword [ebp - 0x30e4], eax
mov ecx, dword [ebp - 0x30e4]
push ecx
call fcn.0044d15b
add esp, 4
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x436671
mov ecx, dword [ebp - 0x2050]
imul ecx, ecx, 0x3018
mov edx, dword [ebp - 0x14]
cmp dword [edx + ecx + 0x5d4], 0
je 0x436671
mov dword [ebp - 0x30ec], 1
jmp 0x43667b
mov dword [ebp - 0x30ec], 0
mov al, byte [ebp - 0x30ec]
mov byte [ebp - 0x15], al
jmp 0x43635f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xa
je 0x4366e6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xb
je 0x4366e6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xc
je 0x4366e6
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x4366e6
mov ecx, dword [ebp - 0x14]
call fcn.00431500
test eax, eax
jg 0x4366e6
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x200
call fcn.00411660
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.005824ce
mov esp, ebp
pop ebp
ret