Function at 0x433600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x463140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x38], xmm0
push eax
lea eax, [ebp - 0x58]
mov esi, ecx
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 0xffffffff
je 0x4336ac
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, 0xffffffff
je 0x4336ac
movzx eax, word [ebp - 0xa]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm0, eax
movzx eax, word [ebp - 0xc]
cvtsi2sd xmm1, eax
movzx eax, word [ebp - 8]
mulsd xmm0, qword [0x45dc78]
mulsd xmm1, qword [0x45dc88]
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
movzx eax, word [ebp - 6]
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
divsd xmm1, qword [0x45dc80]
addsd xmm0, xmm1
call fcn.004540e0
mov dword [ebp - 0x28], edx
jmp 0x4336b5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x1a]
movd xmm0, eax
movzx eax, word [ebp - 0x1c]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
mulsd xmm0, qword [0x45dc78]
movzx eax, word [ebp - 0x18]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x45dc88]
addsd xmm0, xmm1
movd xmm1, eax
movzx eax, word [ebp - 0x16]
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x45dc80]
addsd xmm0, xmm1
call fcn.004540e0
mov ebx, eax
mov edi, edx
sub ebx, dword [ebp - 0x2c]
push str.Enabled
sbb edi, dword [ebp - 0x28]
push esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
call fcn.00435fc0
add esp, 8
test eax, eax
je 0x43374c
mov dword [0x466804], 1
jmp 0x4337d1
push str.Disabled
push esi
call fcn.00435fc0
add esp, 8
test eax, eax
jne 0x4337b3
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433763
sub ecx, edx
je 0x4337b3
push str.Timed
push esi
call fcn.00435fc0
add esp, 8
test eax, eax
je 0x43378c
mov dword [0x466808], 1
jmp 0x4337a8
push str.Untimed
push esi
call fcn.00435fc0
add esp, 8
test eax, eax
je 0x4337a8
mov dword [0x466808], 0
cmp dword [0x466804], 0
jne 0x4337d1
jmp 0x4337bd
mov dword [0x466804], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4337c2
sub ecx, edx
jne 0x43388d
cmp dword [0x466808], 0
je 0x433800
cmp edi, dword [0x463d44]
jg 0x433800
jl 0x4337ec
cmp ebx, dword [0x463d40]
ja 0x433800
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4337f1
sub ecx, edx
jne 0x43388d
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push str.Map3D_Progress_Monitor
push 0
call edi
test eax, eax
je 0x43383c
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
nop dword [eax]
push 0
push 2
push 0x111
push eax
call ebx
push str.Map3D_Progress_Monitor
push 0
call edi
test eax, eax
jne 0x433820
mov ebx, dword [ebp - 0x2c]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433841
mov edi, dword [ebp - 0x28]
sub ecx, edx
je 0x433881
push edi
push ebx
push esi
push str._s_n__lld__Please_wait...
push 0x100
push 0x463c40
call fcn.00430b60
add esp, 0x18
push 0
push 0
push 0x463c40
push 0x4338a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x463d40], ebx
mov dword [0x463d44], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004346eb
mov esp, ebp
pop ebp
ret