Function at 0x417a10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46cf86
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x489ec0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push esi
push edi
mov eax, dword [0x489ec0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x28]
push eax
push 0
call dword [0x46f08c]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00408550
mov edx, dword [esp + 0x18]
push 0x5c
push edx
mov dword [esp + 0x240], 0
call fcn.00450155
add esp, 8
test eax, eax
je 0x417b8a
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x417b8a
inc eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.0040e190
push 0x46fb9c
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x244], 1
call fcn.00406780
push str.update
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x250], 2
call fcn.00406780
push 0x46fb9c
push eax
lea eax, [esp + 0x40]
mov bl, 3
push eax
mov byte [esp + 0x25c], bl
call fcn.00406780
add esp, 0x24
push eax
mov ecx, 0x48b3c0
mov byte [esp + 0x23c], 4
call fcn.004068e0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x238], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x238], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
jmp 0x417c38
push 0x46fb9c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00406780
push str.update
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x250], 5
call fcn.00406780
push 0x46fb9c
push eax
lea ecx, [esp + 0x34]
mov bl, 6
push ecx
mov byte [esp + 0x25c], bl
call fcn.00406780
add esp, 0x24
push eax
mov ecx, 0x48b3c0
mov byte [esp + 0x23c], 7
call fcn.004068e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x238], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417c0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x238], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.config
lea ecx, [esp + 0x14]
push 0x48b3c0
push ecx
call fcn.00406780
push 0x46fb9c
push eax
lea edx, [esp + 0x28]
mov bl, 8
push edx
mov byte [esp + 0x250], bl
call fcn.00406780
add esp, 0x18
push eax
mov ecx, 0x48b3c4
mov byte [esp + 0x23c], 9
call fcn.004068e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x238], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417cc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417cee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.job_rate
lea ecx, [esp + 0x14]
push 0x48b3c0
push ecx
call fcn.00406780
push 0x46fb9c
push eax
lea edx, [esp + 0x28]
mov bl, 0xa
push edx
mov byte [esp + 0x250], bl
call fcn.00406780
add esp, 0x18
push eax
mov ecx, 0x48b3c8
mov byte [esp + 0x23c], 0xb
call fcn.004068e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x238], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.job_file_tmp
lea ecx, [esp + 0x14]
push 0x48b3c0
push ecx
call fcn.00406780
push 0x46fb9c
push eax
lea edx, [esp + 0x28]
mov bl, 0xc
push edx
mov byte [esp + 0x250], bl
call fcn.00406780
add esp, 0x18
push eax
mov ecx, 0x48b3cc
mov byte [esp + 0x23c], 0xd
call fcn.004068e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x238], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417dea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417e12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.job_file_bak
lea ecx, [esp + 0x14]
push 0x48b3c0
push ecx
call fcn.00406780
push 0x46fb9c
push eax
lea edx, [esp + 0x28]
mov bl, 0xe
push edx
mov byte [esp + 0x250], bl
call fcn.00406780
add esp, 0x18
push eax
mov ecx, 0x48b3d0
mov byte [esp + 0x23c], 0xf
call fcn.004068e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x238], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417e7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ea4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x470324
lea ecx, [esp + 0x14]
push 0x48b3c0
push ecx
call fcn.00406780
push 0x46fb9c
push eax
lea edx, [esp + 0x28]
mov bl, 0x10
push edx
mov byte [esp + 0x250], bl
call fcn.00406780
add esp, 0x18
push eax
mov ecx, 0x48b3d4
mov byte [esp + 0x23c], 0x11
call fcn.004068e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x238], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x48b3c4]
mov edi, dword [0x46f320]
push ecx
call edi
mov esi, dword [0x46f308]
test eax, eax
jne 0x417f5a
mov edx, dword [0x48b3c4]
push edx
push 0
call esi
mov eax, dword [0x48b3c8]
push eax
call edi
test eax, eax
jne 0x417f70
mov ecx, dword [0x48b3c8]
push ecx
push eax
call esi
mov edx, dword [0x48b3cc]
push edx
call edi
test eax, eax
jne 0x417f87
mov eax, dword [0x48b3cc]
push eax
push 0
call esi
mov ecx, dword [0x48b3d0]
push ecx
call edi
test eax, eax
jne 0x417f9e
mov edx, dword [0x48b3d0]
push edx
push eax
call esi
mov eax, dword [0x48b3d4]
push eax
call edi
test eax, eax
jne 0x417fb4
mov ecx, dword [0x48b3d4]
push ecx
push eax
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417fdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0044e030
add esp, 0x22c
ret