Function at 0x411220
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c527
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x489ec0]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489ec0]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x16c], eax
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], eax
mov word [esp + 0xac], cx
lea edx, [esp + 0xa8]
mov ebx, 2
push edx
mov byte [esp + 0x170], bl
mov dword [esp + 0x20], eax
call fcn.0042e400
add esp, 4
push 1
push 0x46fb9c
lea ecx, [esp + 0xb0]
call fcn.004048c0
push 0xb
push 0x470054
lea ecx, [esp + 0xb0]
call fcn.004048c0
push 1
push 0x46fb9c
lea ecx, [esp + 0xb0]
call fcn.004048c0
mov edx, dword [esp + 0x174]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x4112e8
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xb0]
call fcn.004048c0
mov eax, dword [esp + 0x178]
cmp dword [eax - 0xc], 0
jle 0x41134c
push 1
push 0x470050
lea ecx, [esp + 0xb0]
call fcn.004048c0
mov edx, dword [esp + 0x178]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x411330
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xb0]
call fcn.004048c0
push 4
push 0x470044
lea ecx, [esp + 0xb0]
call fcn.004048c0
mov edx, dword [0x48b668]
mov eax, dword [edx + 0xc]
mov ecx, 0x48b668
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
mov esi, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 3
push ecx
cmp dword [esp + 0xc4], esi
jae 0x41139f
lea eax, [esp + 0xb0]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00408550
mov ecx, edi
call fcn.004105a0
test eax, eax
jne 0x411473
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x16c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4113e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xc0], esi
jb 0x4113fb
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0044db5e
add esp, 4
xor edx, edx
mov dword [esp + 0xc0], ebp
mov word [esp + 0xac], dx
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x174]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x16c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41143e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x178]
add eax, 0xfffffff0
mov dword [esp + 0x16c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41146c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41199f
lea ecx, [esp + 0xe0]
call fcn.00405e20
mov esi, dword [esp + 0x18]
push esi
lea ecx, [esp + 0xe4]
mov byte [esp + 0x170], 4
call fcn.0041e1e0
test al, al
jne 0x4114e0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x16c], 3
call fcn.0041c1a0
lea eax, [esi - 0x10]
mov byte [esp + 0x16c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4114d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xc0], 8
jmp 0x4113e9
push ecx
mov eax, esp
lea ecx, [esp + 0xe4]
mov dword [esp + 0x18], esp
mov dword [eax], 0
call fcn.00419510
lea ecx, [esp + 0xe0]
call fcn.00418f50
push ecx
mov eax, esp
lea ecx, [esp + 0xe4]
mov dword [esp + 0x18], esp
mov dword [eax], str.updateTasks
call fcn.00419510
lea ecx, [esp + 0xe0]
test al, al
jne 0x41156a
mov byte [esp + 0x16c], 3
call fcn.0041c1a0
lea eax, [esi - 0x10]
mov byte [esp + 0x16c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411559
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa8]
call fcn.00419610
jmp 0x411413
call fcn.00418f50
push ecx
mov eax, esp
lea ecx, [esp + 0xe4]
mov dword [esp + 0x18], esp
mov dword [eax], str.updateTask
call fcn.00419510
lea ecx, [esp + 0xe0]
test al, al
jne 0x4115d4
mov byte [esp + 0x16c], 3
call fcn.0041c1a0
lea ecx, [esp + 0x18]
call fcn.00405760
lea ecx, [esp + 0xa8]
call fcn.00419610
lea ecx, [esp + 0x174]
call fcn.00405760
lea ecx, [esp + 0x178]
call fcn.00405760
xor eax, eax
jmp 0x41199f
call fcn.00418f50
mov esi, dword [esp + 0x17c]
test esi, esi
jle 0x4116a2
mov ecx, dword [esp + 0x118]
push 0
push 0
push ecx
lea ecx, [esp + 0xec]
call fcn.00418a40
push ecx
mov eax, esp
lea ecx, [esp + 0xe4]
mov dword [esp + 0x18], esp
mov dword [eax], str.delayOnStart
call fcn.00419510
test al, al
je 0x41167e
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0xe4]
call fcn.00405ea0
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x411640
mov eax, dword [eax + 4]
jmp 0x411643
add eax, 4
push eax
call fcn.0044f056
add esp, 4
lea ecx, [esp + 0xc4]
mov edi, eax
call fcn.00419610
cmp edi, esi
je 0x4116a7
mov eax, dword [esp + 0x11c]
push esi
push eax
lea ecx, [esp + 0xe8]
call fcn.0041dba0
mov ebp, 1
mov dword [esp + 0x1c], ebp
jmp 0x4116ac
push 0
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0xec]
mov dword [esp + 0x20], esp
mov dword [eax], str.delayOnStart
call fcn.0040d4a0
mov dword [esp + 0x1c], 1
mov ebx, 8
mov ebp, 1
mov esi, dword [esp + 0x180]
test esi, esi
jle 0x411763
mov ecx, dword [esp + 0x118]
push 0
push 0
push ecx
lea ecx, [esp + 0xec]
call fcn.00418a40
push ecx
mov eax, esp
lea ecx, [esp + 0xe4]
mov dword [esp + 0x18], esp
mov dword [eax], str.delayTimeZone
call fcn.00419510
test al, al
je 0x411743
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0xe4]
call fcn.00405ea0
cmp dword [eax + 0x18], ebx
jb 0x41170e
mov eax, dword [eax + 4]
jmp 0x411711
add eax, 4
push eax
call fcn.0044f056
add esp, 4
lea ecx, [esp + 0xc4]
mov edi, eax
call fcn.00419610
cmp edi, esi
je 0x411763
mov eax, dword [esp + 0x11c]
push esi
push eax
lea ecx, [esp + 0xe8]
call fcn.0041dba0
jmp 0x41175f
push 0
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0xec]
mov dword [esp + 0x20], esp
mov dword [eax], str.delayTimeZone
call fcn.0040d4a0
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x184]
test esi, esi
jle 0x411820
mov ecx, dword [esp + 0x118]
push 0
push 0
push ecx
lea ecx, [esp + 0xec]
call fcn.00418a40
push ecx
mov eax, esp
lea ecx, [esp + 0xe4]
mov dword [esp + 0x18], esp
mov dword [eax], str.interval
call fcn.00419510
test al, al
je 0x4117fe
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0xe4]
call fcn.00405ea0
cmp dword [eax + 0x18], ebx
jb 0x4117c5
mov eax, dword [eax + 4]
jmp 0x4117c8
add eax, 4
push eax
call fcn.0044f056
add esp, 4
lea ecx, [esp + 0xc4]
mov edi, eax
call fcn.00419610
cmp edi, esi
je 0x411820
mov eax, dword [esp + 0x11c]
push esi
push eax
lea ecx, [esp + 0xe8]
call fcn.0041dba0
mov dword [esp + 0x1c], ebp
jmp 0x41182b
push 0
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0xec]
mov dword [esp + 0x20], esp
mov dword [eax], str.interval
call fcn.0040d4a0
mov dword [esp + 0x1c], ebp
jmp 0x41182b
cmp dword [esp + 0x1c], 0
je 0x41195a
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], ebx
jae 0x411842
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00407e50
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040dc50
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x170], 5
call fcn.00406c20
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov byte [esp + 0x16c], 7
cmp eax, edx
je 0x41188e
push eax
call fcn.0044e1d5
add esp, 4
lea ecx, [esp + 0x148]
call fcn.00414b30
mov eax, dword [esp + 0xd8]
lea ecx, [eax + eax]
push ecx
call fcn.0044cdb6
add esp, 4
cmp dword [esp + 0xdc], 0x10
mov esi, eax
mov eax, dword [esp + 0xc8]
jae 0x4118c7
lea eax, [esp + 0xc8]
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x14]
push edx
push esi
push ecx
push eax
lea ecx, [esp + 0x158]
call fcn.00414b70
mov eax, dword [esp + 0xac]
mov dword [esp + 0x20], 0
cmp dword [esp + 0xc0], ebx
jae 0x411901
lea eax, [esp + 0xac]
push 0x46fe98
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0044f7be
add esp, 0xc
test eax, eax
je 0x411930
lea ecx, [esp + 0xc4]
call fcn.00405d30
lea ecx, [esp + 0xe0]
jmp 0x411593
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push ebp
push ecx
push esi
call fcn.0044f1c3
mov edx, dword [esp + 0x30]
push edx
call fcn.0044f665
add esp, 0x14
lea ecx, [esp + 0xc4]
call fcn.00405d30
lea ecx, [esp + 0xe0]
mov byte [esp + 0x16c], 3
call fcn.0041c1a0
lea ecx, [esp + 0x18]
call fcn.00405760
lea ecx, [esp + 0xa8]
call fcn.00419610
lea ecx, [esp + 0x174]
call fcn.00405760
lea ecx, [esp + 0x178]
call fcn.00405760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0044e030
add esp, 0x15c
ret 0x14