Function at 0x4d5341
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
sub eax, 0x210
je 0x4d542a
sub eax, 8
je 0x4d53dd
dec eax
sub eax, 1
jne 0x4d5672
lea ecx, [ebp - 0x68]
call fcn.00440206
push 6
sub esp, 0x2c
mov esi, 0x7368e8
push 0xb
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x68]
call fcn.00461ecb
fstp qword [ebp - 0x3c]
cvttsd2si eax, qword [ebp - 0x3c]
cmp eax, 0x3c
jle 0x4d5672
lea eax, [ebx - 0x2c0]
neg ebx
sbb ebx, ebx
and ebx, eax
push ebx
push 0
push 0x485398
call fcn.006423a8
add esp, 0xc
lea esi, [ebp - 0x68]
mov edi, 0x7368e8
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
jmp 0x4d5672
lea eax, [ebx - 0x2c0]
neg ebx
push 0x218
sbb ebx, ebx
and ebx, eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push str.flowwindow_syncstatus
lea ecx, [ebx + 0x20]
call fcn.005cfc5e
mov esi, eax
test esi, esi
je 0x4d5672
mov edx, dword [esi]
mov ecx, esi
push 0x6809b0
call dword [edx + 0x3c]
mov edx, dword [esi]
mov ecx, esi
push edi
call dword [edx + 0x180]
jmp 0x4d5672
cmp byte [ebx + 0x90], 0
jne 0x4d5672
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x98]
sub eax, dword [ebx + 0x94]
push 0x38
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x34], edi
test eax, eax
je 0x4d5672
mov ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x38], 0xa4
mov dword [ebp - 0x1c], 0x2c
mov esi, dword [ebx + 0x94]
lea edi, [ebp - 0x68]
add esi, ecx
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x68]
call fcn.0049dd11
movzx ecx, word [ebp - 0x14]
cmp eax, ecx
jne 0x4d5649
lea ecx, [ebp - 0x68]
call fcn.00482731
movzx ecx, word [ebp - 0x12]
cmp eax, ecx
jne 0x4d5649
lea ecx, [ebp - 0x68]
call fcn.0047be96
movzx ecx, word [ebp - 0xe]
cmp eax, ecx
jne 0x4d5649
mov ecx, dword [ebp - 0x18]
mov esi, 0xa4
add ecx, 0x2c
xor edi, edi
add ecx, dword [ebx + 0x94]
mov dword [ebp - 0x30], edi
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv esi
test eax, eax
je 0x4d5649
xor esi, esi
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
add ecx, 0x78
add ecx, esi
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv dword [ebp - 0x1c]
test eax, eax
je 0x4d561f
mov eax, dword [ecx + 4]
xor edx, edx
sub eax, dword [ecx]
mov dword [ebp - 0x20], edx
cdq
idiv dword [ebp - 0x1c]
test eax, eax
je 0x4d561f
xor edi, edi
mov dword [ebp - 0x2c], edi
mov esi, dword [ecx]
push 0xb
add esi, edi
lea edi, [ebp - 0x94]
pop ecx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x94]
call fcn.0047dc12
movzx ecx, word [ebp - 0xc]
cmp eax, ecx
jne 0x4d55e7
lea ecx, [ebp - 0x94]
call fcn.00482532
movzx ecx, word [ebp - 0xa]
cmp eax, ecx
jne 0x4d55e7
lea ecx, [ebp - 0x94]
call fcn.00488e9b
movzx ecx, word [ebp - 8]
cmp eax, ecx
jne 0x4d55e7
push 0x368
call fcn.00609934
pop ecx
test eax, eax
je 0x4d5583
mov ecx, eax
call fcn.00440b4b
jmp 0x4d5585
xor eax, eax
push 0
mov ecx, SysReAllocString
mov dword [ebp - 0x28], eax
push ecx
push ecx
push 0
push 0
push 0x88
push ecx
push 0x6c0dac
push 0
mov ecx, eax
call fcn.005c122f
mov eax, dword [ebx + 0x94]
lea esi, [ebp - 0x94]
mov ecx, dword [ebp - 0x18]
sub esp, 0x2c
mov eax, dword [ecx + eax + 0x2c]
add eax, dword [ebp - 0x24]
push 0xb
pop ecx
mov edi, esp
sub esp, 0xa4
rep movsd dword es:[edi], dword [esi]
mov ecx, esp
push eax
call fcn.00442b2b
mov ecx, dword [ebp - 0x28]
call fcn.004fbeaf
mov ecx, dword [ebp - 0x28]
call fcn.00501b14
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
push 0x2c
pop eax
add edi, eax
inc dword [ebp - 0x20]
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x2c], edi
mov eax, dword [ecx + eax + 0x2c]
lea ecx, [esi + 0x78]
add ecx, eax
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv dword [ebp - 0x1c]
cmp dword [ebp - 0x20], eax
jb 0x4d551b
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
inc edi
add ecx, 0x2c
mov dword [ebp - 0x30], edi
add ecx, dword [ebx + 0x94]
add esi, 0xa4
mov dword [ebp - 0x24], esi
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv dword [ebp - 0x38]
cmp edi, eax
jb 0x4d54e8
mov eax, dword [ebx + 0x98]
sub eax, dword [ebx + 0x94]
push 0x38
pop edi
cdq
idiv edi
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
inc esi
add ecx, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x18], ecx
cmp esi, eax
jb 0x4d5471
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 0x10