Function at 0x101ccca
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 8], edi
cmp byte [edi + 0x21], bl
je reloc.COMCTL32.dll_Ordinal_344
cmp dword [edi + 0x2314], ebx
jbe reloc.COMCTL32.dll_Ordinal_344
call fcn.0101ca19
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [0x102bf00], ebx
jne reloc.COMCTL32.dll_Ordinal_344
call esi
mov dword [0x102bf00], eax
call esi
mov ecx, eax
sub eax, dword [0x102bf00]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jge reloc.COMCTL32.dll_Ordinal_344
fadd dword [reloc.COMCTL32.dll_Ordinal_344]
fdiv qword [0x1011740]
fadd dword [reloc.COMCTL32.dll_Ordinal_344]
fstp dword [0x102befc]
fldz
fcom dword [reloc.COMCTL32.dll_Ordinal_344]
fnstsw ax
test ah, 0x41
jne reloc.COMCTL32.dll_Ordinal_344
fstp dword [0x102befc]
jmp reloc.COMCTL32.dll_Ordinal_344
fstp st(0)
lea eax, [edi + 0x28]
mov dword [0x102bf00], ecx
cmp word [eax], bx
jne reloc.COMCTL32.dll_Ordinal_344
mov edx, dword [edi]
push reloc.COMCTL32.dll_Ordinal_344
push eax
push dword [edi + 0x24]
mov ecx, edi
call dword [edx + InitializeCriticalSection]
mov dword [ebp - 0xc], ebx
cmp dword [edi + 0x171c], ebx
jbe reloc.COMCTL32.dll_Ordinal_344
lea ebx, [edi + 0x570]
lea esi, [ebx - 0x24]
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
test eax, eax
je reloc.COMCTL32.dll_Ordinal_344
cmp dword [edi + 4], 2
jne reloc.COMCTL32.dll_Ordinal_344
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20]
push ecx
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
push eax
call esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call esi
jmp reloc.COMCTL32.dll_Ordinal_344
lea esi, [edi + 0x2348]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fldz
fcom dword [ebx - 4]
fnstsw ax
test ah, 0x44
mov eax, dword [ebp - 8]
jp reloc.COMCTL32.dll_Ordinal_344
cmp dword [eax + 4], 1
mov eax, dword [ebp - 0x18]
jne reloc.COMCTL32.dll_Ordinal_344
sub eax, dword [ebp - 0x20]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
fild dword [ebp - 0x10]
sub eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 4]
fstp dword [ebx - 4]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
mov dword [ebx + 4], 0xffffff
fstp dword [ebx]
fst dword [ebx - 0xc]
fstp dword [ebx - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp reloc.COMCTL32.dll_Ordinal_344
mov ecx, dword [ebp - 0x20]
fstp st(0)
fld dword [reloc.COMCTL32.dll_Ordinal_344]
add ecx, eax
mov eax, dword [ebp - 0x14]
fstp dword [ebx - 4]
fld dword [reloc.COMCTL32.dll_Ordinal_344]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
fstp dword [ebx]
fild dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x10], ecx
fsub qword [0x1011730]
fld qword [reloc.COMCTL32.dll_Ordinal_344]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebx - 0xc]
fild dword [ebp - 0x10]
fsub qword [0x1011728]
fmulp st(1)
fstp dword [ebx - 8]
mov edi, dword [ebp - 8]
jmp reloc.COMCTL32.dll_Ordinal_344
cmp dword [eax + 4], 1
fstp st(0)
je reloc.COMCTL32.dll_Ordinal_344
fld1
mov esi, reloc.COMCTL32.dll_Ordinal_344
fld dword [reloc.COMCTL32.dll_Ordinal_344]
mov ecx, esi
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp reloc.COMCTL32.dll_Ordinal_344
fmul qword [0x10013b0]
call fcn.01014532
mov ecx, eax
jmp reloc.COMCTL32.dll_Ordinal_344
fld dword [reloc.COMCTL32.dll_Ordinal_344]
fcomp st(1)
fnstsw ax
test ah, 5
jp reloc.COMCTL32.dll_Ordinal_344
fsub qword [0x1011718]
fmul qword [0x10013b0]
fdiv qword [0x1003668]
call fcn.01014532
mov ecx, esi
sub ecx, eax
jmp reloc.COMCTL32.dll_Ordinal_344
fstp st(0)
fld dword [ebx]
imul ecx, ecx, reloc.COMCTL32.dll_Ordinal_344
lea esi, [ebx - 8]
mov dword [ebx + 4], ecx
lea edi, [ebx - 0xc]
fadd dword [esi]
call fcn.01014532
fld dword [ebx - 4]
fadd dword [edi]
push eax
call fcn.01014532
fld dword [esi]
push eax
call fcn.01014532
fld dword [edi]
push eax
call fcn.01014532
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
fld dword [reloc.COMCTL32.dll_Ordinal_344]
fcomp qword [reloc.COMCTL32.dll_Ordinal_344]
fnstsw ax
test ah, 0x41
jne reloc.COMCTL32.dll_Ordinal_344
call fcn.01012656
fild dword [ebp - 0x18]
fsub dword [ebx - 4]
fmulp st(1)
fiadd dword [ebp - 0x20]
fstp dword [edi]
call fcn.01012656
fild dword [ebp - 0x14]
mov byte [ebx + 8], 1
fsub dword [ebx]
fmulp st(1)
fiadd dword [ebp - 0x1c]
fstp dword [esi]
fldz
fstp dword [0x102befc]
fld dword [ebx]
fadd dword [esi]
call fcn.01014532
fld dword [ebx - 4]
fadd dword [edi]
push eax
call fcn.01014532
fld dword [esi]
push eax
call fcn.01014532
fld dword [edi]
push eax
call fcn.01014532
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
call esi
push 0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
call esi
jmp reloc.COMCTL32.dll_Ordinal_344
mov edi, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add ebx, reloc.COMCTL32.dll_Ordinal_344
cmp eax, dword [edi + 0x171c]
jb reloc.COMCTL32.dll_Ordinal_344
pop edi
pop esi
pop ebx
leave
ret