Function at 0x437300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adc06
mov eax, dword fs:[0]
push eax
mov eax, 0x30e0
call fcn.00589140
mov eax, dword [0x6aae20]
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 0x43735d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 1
je 0x43735d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 7
je 0x43735d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x11
jne 0x437362
jmp 0x437826
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 4
je 0x43739c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 3
je 0x43739c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 6
je 0x43739c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 9
je 0x43739c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xf
je 0x43739c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x10
jne 0x437489
mov eax, dword [0x6ad050]
add eax, 1
mov dword [0x6ad050], eax
mov eax, dword [0x6ad050]
xor edx, edx
mov ecx, 0x12c
div ecx
test edx, edx
jne 0x4373ca
push 0
push str.11050000
mov ecx, dword [ebp - 0x14]
call fcn.00433ac0
mov ecx, dword [ebp - 0x14]
add ecx, 0x26c
call fcn.00411070
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 + 0x24c]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24c], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x248]
jbe 0x437487
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x248], ecx
mov byte [ebp - 0x101c], 0
push 0xfff
push 0
lea eax, [ebp - 0x101b]
push eax
call fcn.00588eb0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x248]
push ecx
push 0x624f70
lea edx, [ebp - 0x101c]
push edx
call fcn.0058906d
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x26c
call fcn.00411070
push eax
lea eax, [ebp - 0x101c]
push eax
push str.StartingShotTaskDownloadTime
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x437493
mov dword [0x6ad050], 0
mov dword [ebp - 0x2050], 0
jmp 0x4374ae
mov eax, dword [ebp - 0x2050]
add eax, 1
mov dword [ebp - 0x2050], eax
cmp dword [ebp - 0x2050], 0x22
jge 0x4377c9
push 0x1030
push 0
lea eax, [ebp - 0x204c]
push eax
call fcn.00588eb0
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 + 0xf00]
push eax
call fcn.005098e0
mov dword [ebp - 0x2054], eax
cmp dword [ebp - 0x2054], 0
jne 0x437784
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 + 0xf00]
push eax
call fcn.005099e0
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + eax + 0xf88], 0
jne 0x437646
cmp dword [ebp - 0x2058], 0
je 0x437646
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x3018
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0xf88], 1
mov eax, dword [ebp - 0x2050]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00434da0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1bc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00437850
mov eax, dword [ebp - 0x2050]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + eax + 0xb2c]
call fcn.00411070
push eax
lea ecx, [ebp - 0x2074]
call fcn.00410e00
mov dword [ebp - 4], 0
push 0x67eed6
call fcn.00588520
add esp, 4
test eax, eax
je 0x437619
push 0
lea ecx, [ebp - 0x2074]
call fcn.00411070
push eax
call fcn.0058a900
add esp, 8
cmp eax, 0xffffffff
jne 0x437619
lea eax, [ebp - 0x2074]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x368
call fcn.00411070
push eax
call fcn.0040fb50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x437619
push 0x67eed6
lea ecx, [ebp - 0x2074]
call fcn.0040cc80
push 0x67eed6
lea ecx, [ebp - 0x2074]
call fcn.00411070
push eax
push str.11080000
call fcn.00507a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2074]
call fcn.004116c0
mov eax, dword [ebp - 0x2050]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0xf00]
push edx
call fcn.00509f50
mov dword [ebp - 0x2078], eax
mov eax, dword [ebp - 0x2078]
push eax
call fcn.0044fb5b
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.0058a7d4
add esp, 4
push eax
push 0
mov ecx, dword [ebp - 0x207c]
push ecx
call fcn.00588eb0
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 + 0xf00]
push ecx
call fcn.00509e60
mov dword [ebp - 0x2080], eax
cmp dword [ebp - 0x2080], 0
jle 0x437769
mov byte [ebp - 0x3080], 0
push 0xfff
push 0
lea eax, [ebp - 0x307f]
push eax
call fcn.00588eb0
add esp, 0xc
push 0x67eed6
lea ecx, [ebp - 0x309c]
call fcn.00410e00
mov dword [ebp - 4], 1
mov dword [ebp - 0x30a0], 0
jmp 0x43772a
mov eax, dword [ebp - 0x30a0]
add eax, 1
mov dword [ebp - 0x30a0], eax
mov eax, dword [ebp - 0x30a0]
cmp eax, dword [ebp - 0x2080]
jge 0x437757
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.00438fb0
jmp 0x43771b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x309c]
call fcn.004116c0
mov eax, dword [ebp - 0x207c]
mov dword [ebp - 0x30e4], eax
mov ecx, dword [ebp - 0x30e4]
push ecx
call fcn.0044fb50
add esp, 4
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x4377b1
mov ecx, dword [ebp - 0x2050]
imul ecx, ecx, 0x3018
mov edx, dword [ebp - 0x14]
cmp dword [edx + ecx + 0xf88], 0
je 0x4377b1
mov dword [ebp - 0x30ec], 1
jmp 0x4377bb
mov dword [ebp - 0x30ec], 0
mov al, byte [ebp - 0x30ec]
mov byte [ebp - 0x15], al
jmp 0x43749f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xa
je 0x437826
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xb
je 0x437826
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0xc
je 0x437826
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x437826
mov ecx, dword [ebp - 0x14]
call fcn.00432600
test eax, eax
jg 0x437826
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x26c
call fcn.00411070
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.005884bd
mov esp, ebp
pop ebp
ret