Function at 0x416fa0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b70a
mov eax, dword fs:[0]
push eax
sub esp, 0x71c
mov eax, dword [0x42500c]
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 - 0x728], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x6b8], 0
movq qword [ebp - 0x6c0], xmm0
mov dword [ebp - 0x6c0], 0
mov dword [ebp - 0x6bc], 0
mov dword [ebp - 0x6b8], 0
push 0x208
lea eax, [ebp - 0x4ac]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x1dc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
lea ecx, [ebp - 0x4ac]
call fcn.0040cd90
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x4ac]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call ebx
mov esi, eax
test esi, esi
je 0x4170b1
cmp esi, 0x104
jg 0x4170b1
push 0x104
lea eax, [ebp - 0x1dc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1dc]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4ac]
push eax
push 0
push 0
call ebx
lea eax, [ebp - 0x1dc]
push eax
push str._sRes_ability.ini
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x4170f9
xor ecx, ecx
jmp 0x41710b
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417102
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x417150
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sRes_fat
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417198
xor ecx, ecx
jmp 0x4171aa
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4171a1
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x4171ef
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sRes_factory.ini
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417237
xor ecx, ecx
jmp 0x417249
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417240
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41728e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sResmtr.dat
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x4172d6
xor ecx, ecx
jmp 0x4172e9
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4172e0
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41732e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sResmtr.ini
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417376
xor ecx, ecx
jmp 0x417389
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417380
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x4173ce
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sResmtr_default.ini
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417416
xor ecx, ecx
jmp 0x417429
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417420
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41746e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sResuser.dat
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x4174b6
xor ecx, ecx
jmp 0x4174c9
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4174c0
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41750e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sResuser.ini
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417556
xor ecx, ecx
jmp 0x417569
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417560
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x4175ae
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sCfg_addr.json
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x4175f6
xor ecx, ecx
jmp 0x417609
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417600
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41764e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sCfgConfig.ini
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417696
xor ecx, ecx
jmp 0x4176a9
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4176a0
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x4176ee
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sLogDump.dmp
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417736
xor ecx, ecx
jmp 0x417749
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417740
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41778e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sLogLocalhost.txt
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x4177d6
xor ecx, ecx
jmp 0x4177e9
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4177e0
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41782e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push str._sCfgPageConfig.ini
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417876
xor ecx, ecx
jmp 0x417889
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417880
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x4178ce
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
lea eax, [ebp - 0x1dc]
push eax
push 0x420a40
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
mov dword [ebp - 0x704], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
jne 0x417916
xor ecx, ecx
jmp 0x417929
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417920
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x718]
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x704]
cmp eax, 0x10
jb 0x41796e
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
mov esi, dword [ebp - 0x6bc]
xor ebx, ebx
mov edi, dword [ebp - 0x6c0]
mov dword [ebp - 0x71c], ebx
push ebx
lea eax, [ebp - 0x1dc]
push eax
push str._sTEMP_dnear.jpg
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x14
mov dword [ebp - 0x6c4], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x6c8], 0
mov byte [ebp - 0x6d8], 0
jne 0x4179cb
xor ecx, ecx
jmp 0x4179dd
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4179d4
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x6d8]
call fcn.004098a0
lea eax, [ebp - 0x6d8]
mov byte [ebp - 4], 0xf
cmp eax, esi
jae 0x417a51
cmp edi, eax
ja 0x417a51
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [ebp - 0x6b8]
jne 0x417a37
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
lea eax, [ebx + ebx*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x417a49
push eax
mov ecx, esi
call fcn.004088d0
mov ebx, dword [ebp - 0x71c]
jmp 0x417a83
cmp esi, dword [ebp - 0x6b8]
jne 0x417a71
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
test esi, esi
je 0x417a83
lea eax, [ebp - 0x6d8]
mov ecx, esi
push eax
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6bc], esi
cmp eax, 0x10
jb 0x417aa8
inc eax
push eax
push dword [ebp - 0x6d8]
call fcn.0040a320
push ebx
lea eax, [ebp - 0x1dc]
push eax
push str._sTEMP_dfar.jpg
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x14
mov dword [ebp - 0x6c4], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x6c8], 0
mov byte [ebp - 0x6d8], 0
jne 0x417af1
xor ecx, ecx
jmp 0x417b09
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417b00
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x6d8]
call fcn.004098a0
lea eax, [ebp - 0x6d8]
mov byte [ebp - 4], 0x10
cmp eax, esi
jae 0x417b7d
cmp edi, eax
ja 0x417b7d
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [ebp - 0x6b8]
jne 0x417b63
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
lea eax, [ebx + ebx*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x417b75
push eax
mov ecx, esi
call fcn.004088d0
mov ebx, dword [ebp - 0x71c]
jmp 0x417baf
cmp esi, dword [ebp - 0x6b8]
jne 0x417b9d
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
test esi, esi
je 0x417baf
lea eax, [ebp - 0x6d8]
mov ecx, esi
push eax
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6bc], esi
cmp eax, 0x10
jb 0x417bd4
inc eax
push eax
push dword [ebp - 0x6d8]
call fcn.0040a320
push ebx
lea eax, [ebp - 0x1dc]
push eax
push str._sTEMP_dthird.jpg
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x14
mov dword [ebp - 0x6c4], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x6c8], 0
mov byte [ebp - 0x6d8], 0
jne 0x417c1d
xor ecx, ecx
jmp 0x417c2f
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417c26
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x6d8]
call fcn.004098a0
lea eax, [ebp - 0x6d8]
mov byte [ebp - 4], 0x11
cmp eax, esi
jae 0x417ca3
cmp edi, eax
ja 0x417ca3
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [ebp - 0x6b8]
jne 0x417c89
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
lea eax, [ebx + ebx*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x417c9b
push eax
mov ecx, esi
call fcn.004088d0
mov ebx, dword [ebp - 0x71c]
jmp 0x417cd5
cmp esi, dword [ebp - 0x6b8]
jne 0x417cc3
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
test esi, esi
je 0x417cd5
lea eax, [ebp - 0x6d8]
mov ecx, esi
push eax
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6bc], esi
cmp eax, 0x10
jb 0x417cfa
inc eax
push eax
push dword [ebp - 0x6d8]
call fcn.0040a320
push ebx
lea eax, [ebp - 0x1dc]
push eax
push str._sTEMP_d_Ball.jpg
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x14
mov dword [ebp - 0x6c4], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x6c8], 0
mov byte [ebp - 0x6d8], 0
jne 0x417d43
xor ecx, ecx
jmp 0x417d59
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417d50
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x6d8]
call fcn.004098a0
lea eax, [ebp - 0x6d8]
mov byte [ebp - 4], 0x12
cmp eax, esi
jae 0x417dcd
cmp edi, eax
ja 0x417dcd
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [ebp - 0x6b8]
jne 0x417db3
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
lea eax, [ebx + ebx*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x417dc5
push eax
mov ecx, esi
call fcn.004088d0
mov ebx, dword [ebp - 0x71c]
jmp 0x417dff
cmp esi, dword [ebp - 0x6b8]
jne 0x417ded
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
test esi, esi
je 0x417dff
lea eax, [ebp - 0x6d8]
mov ecx, esi
push eax
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6bc], esi
cmp eax, 0x10
jb 0x417e24
inc eax
push eax
push dword [ebp - 0x6d8]
call fcn.0040a320
push ebx
lea eax, [ebp - 0x1dc]
push eax
push str._sTEMP_d_Gun.jpg
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x14
mov dword [ebp - 0x6c4], 0xf
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x6c8], 0
mov byte [ebp - 0x6d8], 0
jne 0x417e6d
xor ecx, ecx
jmp 0x417e7f
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417e76
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x6d8]
call fcn.004098a0
lea eax, [ebp - 0x6d8]
mov byte [ebp - 4], 0x13
cmp eax, esi
jae 0x417ef3
cmp edi, eax
ja 0x417ef3
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [ebp - 0x6b8]
jne 0x417ed9
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
lea eax, [ebx + ebx*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x417eeb
push eax
mov ecx, esi
call fcn.004088d0
mov ebx, dword [ebp - 0x71c]
jmp 0x417f25
cmp esi, dword [ebp - 0x6b8]
jne 0x417f13
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
test esi, esi
je 0x417f25
lea eax, [ebp - 0x6d8]
mov ecx, esi
push eax
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6bc], esi
cmp eax, 0x10
jb 0x417f4a
inc eax
push eax
push dword [ebp - 0x6d8]
call fcn.0040a320
inc ebx
mov dword [ebp - 0x71c], ebx
cmp ebx, 4
jl 0x417982
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x64
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x64
lea eax, [ebp - 0x2a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
add esp, 0x24
mov word [ebp - 0x6d0], ax
mov dword [ebp - 0x6c6], eax
xorps xmm0, xmm0
mov word [ebp - 0x6c2], ax
lea eax, [ebp - 0x6d0]
movq qword [ebp - 0x6ce], xmm0
push eax
call ebx
movzx eax, word [ebp - 0x6ce]
push eax
movzx eax, word [ebp - 0x6d0]
push eax
push str._d_02d
lea eax, [ebp - 0x2a4]
push 0x32
push eax
call fcn.0040cd10
push 0x64
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x240]
push 0x32
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push 0x208
lea eax, [ebp - 0x6b4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0x38
mov word [ebp - 0x6d0], ax
xorps xmm0, xmm0
mov dword [ebp - 0x6c6], eax
mov word [ebp - 0x6c2], ax
lea eax, [ebp - 0x6d0]
push eax
movq qword [ebp - 0x6ce], xmm0
call ebx
lea eax, [ebp - 0x240]
push eax
movzx eax, word [ebp - 0x6d0]
push eax
lea eax, [ebp - 0x4ac]
push eax
push str._sLog_d_s_
lea eax, [ebp - 0x6b4]
push 0x104
push eax
call fcn.0040cd10
xorps xmm0, xmm0
mov dword [ebp - 0x6c4], 0
movq qword [ebp - 0x6cc], xmm0
mov dword [ebp - 0x6cc], 0
mov dword [ebp - 0x6c8], 0
mov dword [ebp - 0x6c4], 0
mov byte [ebp - 4], 0x14
push 0x420ad4
lea edx, [ebp - 0x6cc]
lea ecx, [ebp - 0x6b4]
call fcn.0040d2b0
mov ecx, dword [ebp - 0x6c8]
mov eax, 0x13e22cbd
mov ebx, dword [ebp - 0x6cc]
add esp, 0x1c
sub ecx, ebx
mov dword [ebp - 0x724], 0
imul ecx
mov dword [ebp - 0x71c], ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x720], eax
je 0x4182bc
mov eax, 0x208
add eax, ebx
push str.FactoryLog.txt
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x418292
lea eax, [ebp - 0x240]
push eax
mov eax, 0x208
add eax, ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x418292
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
je 0x418195
cmp ebx, 0xc8
jg 0x418195
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xd8]
push 0
push 0
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x71c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [ebp - 0xd8], 0
mov dword [ebp - 0x6dc], 0xf
mov dword [ebp - 0x6e0], 0
mov byte [ebp - 0x6f0], 0
jne 0x4181bd
xor ecx, ecx
jmp 0x4181cf
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4181c6
sub ecx, edx
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x6f0]
call fcn.004098a0
lea eax, [ebp - 0x6f0]
mov byte [ebp - 4], 0x15
cmp eax, esi
jae 0x418235
cmp edi, eax
ja 0x418235
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [ebp - 0x6b8]
jne 0x418229
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
lea eax, [ebx + ebx*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x418267
jmp 0x41825f
cmp esi, dword [ebp - 0x6b8]
jne 0x418255
push ecx
lea ecx, [ebp - 0x6c0]
call fcn.00409560
mov esi, dword [ebp - 0x6bc]
mov edi, dword [ebp - 0x6c0]
test esi, esi
je 0x418267
lea eax, [ebp - 0x6f0]
push eax
mov ecx, esi
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x6dc]
mov dword [ebp - 0x6bc], esi
cmp eax, 0x10
jb 0x41828c
inc eax
push eax
push dword [ebp - 0x6f0]
call fcn.0040a320
mov ebx, dword [ebp - 0x71c]
mov eax, dword [ebp - 0x724]
add ebx, 0x338
inc eax
mov dword [ebp - 0x71c], ebx
cmp eax, dword [ebp - 0x720]
mov dword [ebp - 0x724], eax
mov eax, 0x208
jb 0x418105
xorps xmm0, xmm0
mov dword [ebp - 0x6dc], 0
movq qword [ebp - 0x6e4], xmm0
mov dword [ebp - 0x6e4], 0
mov dword [ebp - 0x6e0], 0
mov dword [ebp - 0x6dc], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x718]
push 7
push str.MAC.csv
mov dword [ebp - 0x704], 0xf
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
call fcn.004098a0
push ecx
lea ecx, [ebp - 0x6e4]
mov byte [ebp - 4], 0x17
call fcn.00409560
mov esi, dword [ebp - 0x6e0]
test esi, esi
je 0x418348
lea eax, [ebp - 0x718]
mov ecx, esi
push eax
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x704]
mov dword [ebp - 0x6e0], esi
cmp eax, 0x10
jb 0x41836d
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
push 0xb
push str.Produce.csv
lea ecx, [ebp - 0x718]
mov dword [ebp - 0x704], 0xf
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x6e4]
cmp eax, esi
jae 0x418407
cmp edi, eax
ja 0x418407
mov ebx, dword [ebp - 0x6dc]
mov ecx, eax
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x720], eax
cmp esi, ebx
jne 0x4183fb
push ecx
lea ecx, [ebp - 0x6e4]
call fcn.00409560
mov ebx, dword [ebp - 0x6dc]
mov esi, dword [ebp - 0x6e0]
mov edi, dword [ebp - 0x6e4]
mov eax, dword [ebp - 0x720]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x418441
jmp 0x418439
mov ebx, dword [ebp - 0x6dc]
cmp esi, ebx
jne 0x41842f
push ecx
lea ecx, [ebp - 0x6e4]
call fcn.00409560
mov ebx, dword [ebp - 0x6dc]
mov esi, dword [ebp - 0x6e0]
mov edi, dword [ebp - 0x6e4]
test esi, esi
je 0x418441
lea eax, [ebp - 0x718]
push eax
mov ecx, esi
call fcn.004088d0
add esi, 0x18
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x704]
mov dword [ebp - 0x6e0], esi
cmp eax, 0x10
jb 0x418466
inc eax
push eax
push dword [ebp - 0x718]
call fcn.0040a320
push 0x11
push str.ProduceFailed.csv
lea ecx, [ebp - 0x718]
mov dword [ebp - 0x704], 0xf
mov dword [ebp - 0x708], 0
mov byte [ebp - 0x718], 0
call fcn.004098a0
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0x19
cmp eax, esi
jae 0x4184f6
mov ecx, eax
cmp edi, ecx
ja 0x4184f6
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x720], eax
cmp esi, ebx
jne 0x4184e2
push ecx
lea ecx, [ebp - 0x6e4]
call fcn.00409560
mov esi, dword [ebp - 0x6e0]
mov edi, dword [ebp - 0x6e4]
mov eax, dword [ebp - 0x720]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
test esi, esi
je 0x418519
push eax
mov ecx, esi
call fcn.004088d0
jmp 0x418519
cmp esi, ebx
jne 0x41850c
push ecx
lea ecx, [ebp - 0x6e4]
call fcn.00409560
mov esi, dword [ebp - 0x6e0]
lea eax, [ebp - 0x718]
push eax
push esi
call fcn.0040ad70
add esi, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x718]
mov dword [ebp - 0x6e0], esi
call fcn.00408890
push str.Erase.csv
lea ecx, [ebp - 0x718]
call fcn.00408950
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x6e4]
call fcn.00408780
lea ecx, [ebp - 0x718]
mov byte [ebp - 4], 0x16
call fcn.00408890
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x700], ax
mov dword [ebp - 0x6f6], eax
mov word [ebp - 0x6f2], ax
lea eax, [ebp - 0x700]
push eax
movq qword [ebp - 0x6fe], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x700]
push eax
push str.Report_d
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x718]
push eax
call fcn.00408950
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x6e4]
call fcn.00408780
lea ecx, [ebp - 0x718]
mov byte [ebp - 4], 0x16
call fcn.00408890
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
push 4
push str.D:ProduceLog
call esi
add esp, 8
test eax, eax
jne 0x418699
lea ecx, [ebp - 0x6e4]
xor esi, esi
call fcn.00408700
test eax, eax
je 0x418736
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x6e4]
call fcn.004086e0
mov ecx, eax
call fcn.00408840
push eax
push str.D:ProduceLog_s
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x718]
push eax
call fcn.00408950
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
lea ecx, [ebp - 0x718]
mov byte [ebp - 4], 0x16
call fcn.00408890
lea ecx, [ebp - 0x6e4]
inc esi
call fcn.00408700
cmp esi, eax
jb 0x418620
jmp 0x418736
push 4
push str.C:ProduceLog
call esi
add esp, 8
test eax, eax
jne 0x418736
lea ecx, [ebp - 0x6e4]
xor esi, esi
call fcn.00408700
test eax, eax
je 0x418736
push esi
lea ecx, [ebp - 0x6e4]
call fcn.004086e0
mov ecx, eax
call fcn.00408840
push eax
push str.C:ProduceLog_s
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.0040afa0
add esp, 0x10
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x718]
push eax
call fcn.00408950
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x6c0]
call fcn.00408780
lea ecx, [ebp - 0x718]
mov byte [ebp - 4], 0x16
call fcn.00408890
lea ecx, [ebp - 0x6e4]
inc esi
call fcn.00408700
cmp esi, eax
jb 0x4186c2
lea ecx, [ebp - 0x6c0]
call fcn.00408700
test eax, eax
je 0x418769
sub esp, 0xc
lea eax, [ebp - 0x6c0]
mov ecx, esp
push eax
call fcn.00410e80
mov ecx, dword [ebp - 0x728]
mov edx, 0x104
call fcn.00416c20
add esp, 0xc
lea ecx, [ebp - 0x6e4]
call fcn.00408720
lea ecx, [ebp - 0x6cc]
call fcn.0040dbc0
lea ecx, [ebp - 0x6c0]
call fcn.00408720
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.00418d36
mov esp, ebp
pop ebp
ret