Function at 0x519f82
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0xa
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 9
ja case.0x519e8f.3
mov edx, dword [ebp - 0x14]
jmp dword [edx*4 + 0x51a228]
push 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2a0]
add ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2a0], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x2a0], 3
jle 0x519f16
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.004e8b40
push eax
call fcn.004e59c0
add esp, 4
mov dword [ebp - 8], 0
push 1
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x27c
call fcn.004e8b40
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24c
call fcn.004e8b40
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0052ca40
mov dword [ebp - 0x28], eax
jmp case.0x519e8f.3
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.004e8b40
push eax
call fcn.004e5900
add esp, 4
test eax, eax
je 0x519f47
push 0
push 0x7d0
push 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0053a2d0
jmp 0x519f7d
mov dword [ebp - 0xc], 0
push 1
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x27c
call fcn.004e8b40
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24c
call fcn.004e8b40
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0052ca40
mov dword [ebp - 0x20], eax
jmp case.0x519e8f.3
push 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x5243c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x519e8f.3
mov edx, dword [0x5daab4]
add edx, 1
mov dword [0x5daab4], edx
cmp dword [0x5daab4], 3
jl 0x519fe7
mov dword [0x5daab4], 0
push 0x11
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
jmp case.0x519e8f.3
call fcn.004e73d0
movzx eax, al
test eax, eax
je 0x51a05d
mov ecx, dword [ebp - 0x10]
call fcn.0051d5f0
mov dword [0x5daab8], 0
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
push 0
push 0
push 0x4d0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d30
push 0
push 0xea60
push 0x13
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0053a2d0
push 0
push 0x7530
push 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0053a2d0
mov ecx, dword [ebp - 0x10]
call fcn.0052d2d0
jmp 0x51a08c
mov ecx, dword [0x5daab8]
add ecx, 1
mov dword [0x5daab8], ecx
cmp dword [0x5daab8], 0x14
jle 0x51a08c
mov dword [0x5daab8], 0
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
jmp case.0x519e8f.3
push 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x2a6]
test eax, eax
jne 0x51a0ca
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x2a6], 1
push 0
push 0
push 0x530
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d30
push 0
push 0
push 0x4cf
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d30
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x2a7]
test eax, eax
jne 0x51a100
push 0
push 0
push 0x532
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d30
push 0
push 0
push 0x533
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d30
jmp case.0x519e8f.3
push 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
push 0
push 0
push 0x4ce
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d30
jmp case.0x519e8f.3
push 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.hours_later__run_update
call fcn.004e7e60
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
call fcn.0051f5a0
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x5242d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x519e8f.3
push 0x12
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
mov ecx, dword [ebp - 0x10]
call fcn.0051d5f0
jmp case.0x519e8f.3
push 0x576000
call fcn.004e5900
add esp, 4
test eax, eax
je 0x51a1e7
mov dword [0x5daabc], 0
push 0x13
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
push 0
push 0xea60
push 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0053a2d0
jmp case.0x519e8f.3
mov eax, dword [0x5daabc]
add eax, 1
mov dword [0x5daabc], eax
cmp dword [0x5daabc], 0x14
jle case.0x519e8f.3
mov dword [0x5daabc], 0
push 0x13
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00539d10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 0x10