Function at 0x40f7a7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x44411e], 0
jle 0x40f7c2
cmp dword [0x443e68], 0x2710
jbe 0x40f7c7
jmp 0x40fa05
mov eax, dword [0x444122]
imul eax, eax, 0x1b
mov ecx, dword [0x443e6c]
mov edx, dword [ecx + eax + 4]
cmp edx, dword [0x448238]
jbe 0x40f7e6
jmp 0x40fa05
push 0x447d40
call fcn.00415bf6
add esp, 4
mov eax, 1
test eax, eax
je 0x40f9f8
cmp dword [0x44411e], 0
jle 0x40f815
cmp dword [0x443e68], 0x2710
jbe 0x40f81a
jmp 0x40f9f8
mov ecx, dword [0x444122]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x444126]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x1b
mov ecx, dword [0x443e6c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
cmp eax, dword [0x448238]
jbe 0x40f850
jmp 0x40f9f8
mov ecx, dword [0x44411e]
sub ecx, 1
mov dword [0x44411e], ecx
cmp dword [0x44411e], 0
jg 0x40f888
mov dword [0x444122], 0xffffffff
mov dword [0x444126], 0xffffffff
mov dword [0x44411e], 0
jmp 0x40f8c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x17]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x1b
mov edx, dword [0x443e6c]
mov eax, dword [ebp - 0x24]
mov dword [edx + ecx + 0x17], eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x1b
mov edx, dword [0x443e6c]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx + 0x13], eax
mov ecx, dword [ebp - 0x24]
mov dword [0x444122], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cx, word [eax + 2]
mov dword [ebp - 0x14], ecx
mov word [ebp - 8], 0x39
mov edx, dword [0x443e68]
add edx, 1
mov dword [0x443e68], edx
mov eax, dword [ebp - 8]
and eax, 0xffff
push eax
call fcn.00415ca2
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40f924
push str.TimerProc_send_message_error_not_task_ub
push 0x8dc
push 0x436290
mov ecx, dword [0x437d14]
push ecx
call fcn.0040c291
add esp, 0x10
jmp 0x40f7f3
push 0x30
push 0x444130
mov edx, dword [ebp - 4]
push edx
call fcn.0041ad80
add esp, 0xc
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax + 8]
add ecx, 0x3e8
mov edx, dword [ebp - 4]
mov word [edx + 0x20], cx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 0x30
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 5], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 8]
mov byte [edx + 4], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 9]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
sub edx, 0x30
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0xffe7
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x1ee
mov eax, dword [0x447d08]
mov ecx, dword [eax + edx + 0xb8]
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40f9f3
mov edx, dword [ebp - 4]
push edx
call fcn.00415cd4
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
push str.TimerProc_send_message_error:_d
push 0x8f2
push 0x4362cc
mov ecx, dword [0x437d14]
push ecx
call fcn.0040c291
add esp, 0x14
push 0
call fcn.0041bfac
jmp 0x40f7f3
push 0x447d40
call fcn.00415c05
add esp, 4
mov esp, ebp
pop ebp
ret