Function at 0x100068d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], esp
push 0x100b651c
push str.Worker_Window
push 0
push 0
xor eax, eax
call dword [0x100f5175]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000691e
push 0x2c
push 0x40158d0
push 6
call fcn.100775a9
add esp, 0xc
mov dword [0x100f45a5], eax
cmp dword [0x100f45a5], 0
jne 0x10006935
call fcn.10006f5c
push 0x3e8
call fcn.100072f8
call fcn.10007479
call fcn.1000bb61
call fcn.1000bbd6
xor eax, eax
cmp dword [0x100f458d], 0
jg 0x10006968
jl 0x10006967
cmp dword [0x100f4589], 0x186a0
jae 0x10006968
inc eax
test eax, eax
je 0x100069d2
call fcn.100054cb
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 1
mov eax, 0x100b67db
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10005336
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100069b8
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100069c8
push ebx
call fcn.10077597
add esp, 4
push 0
call fcn.100775c7
add esp, 4
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.10078e70
add esp, 0x10
mov dword [ebp - 4], esp
push 0x100b651c
push str.Worker_Window
push 0
push 0
xor eax, eax
call dword [0x100f5175]
nop
nop
cmp dword [ebp - 4], esp
je 0x10006a27
push 0x635
push 0x40158d0
push 6
call fcn.100775a9
add esp, 0xc
mov dword [0x100f45a5], eax
mov eax, dword [0x100f45a5]
mov dword [0x100f457d], eax
push dword [0x100f457d]
call fcn.1000d334
call fcn.1000da27
mov dword [0x100f45a9], 1
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.10078e70
add esp, 0x10
push 0
mov ebx, 0x2d4
call fcn.10078ea0
add esp, 4
mov dword [0x100f45ad], eax
push 0
mov ebx, 0x2d8
call fcn.10078eb0
add esp, 4
mov dword [0x100f45b1], eax
push 1
push 0
push 1
mov eax, str.msyhbd.ttc
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push 0x41900000
push dword [0x100f45b1]
push dword [0x100f45ad]
mov eax, str.GOD_DMA
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1001bdf4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006adf
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006aef
push ebx
call fcn.10077597
add esp, 4
push dword [0x100f457d]
call fcn.1000d334
call fcn.1001cb94
mov dword [0x100f45b5], 0xd407ba8
mov dword [0x100f45b9], 0
fild dword [0x100f4579]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x100b6802]
fstp qword [ebp - 0x10]
push 8
fld qword [ebp - 0x10]
call fcn.100020b3
push eax
call fcn.10004e05
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10006b63
mov eax, 0x100b64fb
push eax
push 3
mov ebx, 0x19c
call fcn.10077ff0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10006b8f
push ebx
call fcn.10077597
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp ecx, 0x80000101
jne 0x10006ba7
and eax, 0xff
jmp 0x10006bcd
cmp ecx, 0x80000201
jne 0x10006bb2
cwde
jmp 0x10006bcd
mov dword [ebp - 0x28], eax
cmp ecx, 0x80000301
je 0x10006bd0
cmp ecx, 0x80000401
jne 0x10006bd5
mov dword [ebp - 0x24], edx
fild qword [ebp - 0x28]
jmp 0x10006c01
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
jmp 0x10006c01
cmp ecx, 0x80000501
jne 0x10006be2
fld dword [ebp - 0x28]
jmp 0x10006c01
cmp ecx, 0x80000601
je 0x10006c0a
push 0x9d9
push 0x40158d0
push 2
call fcn.100775a9
add esp, 0xc
fstp qword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
fmul qword [0x100b680a]
fstp qword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x80000004
je 0x10006c33
cmp ecx, 0x80000005
jne 0x10006c43
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006c43
push ebx
call fcn.10077597
add esp, 4
fld qword [ebp - 0x30]
call fcn.100020b3
mov dword [0x100f45bd], eax
mov dword [0x100f45c1], edx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x100f45c5], eax
fild dword [0x100f4579]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x100b6812]
fstp qword [ebp - 0x10]
push 4
fld qword [ebp - 0x10]
call fcn.100020b3
push eax
call fcn.10004e05
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10006cbd
mov eax, 0x100b64fb
push eax
push 3
mov ebx, 0x19c
call fcn.10077ff0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10006ce9
push ebx
call fcn.10077597
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp ecx, 0x80000101
jne 0x10006d03
and eax, 0xff
xor edx, edx
jmp 0x10006d5c
cmp ecx, 0x80000201
jne 0x10006d0f
cwde
cdq
jmp 0x10006d5c
cmp ecx, 0x80000301
jne 0x10006d1a
cdq
jmp 0x10006d5c
cmp ecx, 0x80000401
je 0x10006d5c
mov dword [ebp - 0x28], eax
cmp ecx, 0x80000501
je 0x10006d4c
cmp ecx, 0x80000601
je 0x10006d51
push 0xa82
push 0x40158d0
push 2
call fcn.100775a9
add esp, 0xc
fld dword [ebp - 0x28]
jmp 0x10006d57
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
call fcn.100020b3
mov dword [0x100f45c9], eax
mov dword [0x100f45cd], edx
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [0x100f45c1]
push dword [0x100f45bd]
call fcn.1001d76f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x100f45d1]
test ebx, ebx
je 0x10006dc2
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [0x100f45d1], eax
mov dword [0x100f45b5], 0xd407ba8
mov dword [0x100f45b9], 0
mov dword [0x100f45c9], 0xd0d4a08
mov dword [0x100f45cd], 0
mov dword [0x100f45bd], 0x6cebb800
mov dword [0x100f45c1], 0x49
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x100f45c5], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [0x100f45c1]
push dword [0x100f45bd]
call fcn.1001d76f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x100f45d1]
test ebx, ebx
je 0x10006e76
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [0x100f45d1], eax
cmp dword [0x100f45b5], 0
jne 0x10006e8c
cmp dword [0x100f45b9], 0
jne 0x10006eea
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 1
mov eax, 0x100b681a
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10005336
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006ed5
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006ee5
push ebx
call fcn.10077597
add esp, 4
jmp 0x10006f53
cmp dword [0x100f45c9], 0
jne 0x10006efa
cmp dword [0x100f45cd], 0
jne 0x10006f53
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 1
mov eax, str.ERRO:02
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10005336
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006f43
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006f53
push ebx
call fcn.10077597
add esp, 4
call fcn.1001d98b
mov esp, ebp
pop ebp
ret