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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ada02
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10022920
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.1002d160
mov esi, eax
mov dword [ebp - 0x13c], esi
test esi, esi
je 0x10006447
mov eax, dword [esi]
test eax, eax
je 0x10006447
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [esi + 4], 0
jne 0x1000645b
mov byte [esi + 4], 1
mov dword [esi + 8], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1000646f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
mov dword [ebp - 0x13c], 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [ebp - 0x154]
call fcn.10016500
mov dword [ebp - 4], 1
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
sete byte [ebp - 0x14c]
mov byte [ebp - 4], 2
cmp byte [ebp - 0x14c], 0
jne 0x100064e5
or edi, 0xffffffff
jmp 0x100068c4
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 8
push eax
mov dword [ebp - 0x13c], 0x7ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.10007450
mov ecx, eax
call fcn.10005090
call fcn.100327c0
push ecx
call fcn.10032890
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.100054b0
mov byte [ebp - 4], 4
xor eax, eax
mov esi, dword [ebp - 0x144]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006570
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10006df0
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x134]
call fcn.10005840
mov byte [ebp - 0x135], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10006d80
cmp byte [ebp - 0x135], 0
je 0x1000672c
mov ecx, esi
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100065e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10006df0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0xa8]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10006df0
cmp dword [ebp - 0xf4], 0
je 0x10006720
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edx, 1
mov dword [ebp - 0x13c], edx
xor esi, esi
test edx, edx
je 0x10006672
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
call edi
test eax, eax
jne 0x10006672
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
push esi
mov eax, dword [eax + 4]
call eax
inc esi
test eax, eax
jne 0x10006640
mov dword [ebp - 0x13c], eax
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov edx, dword [ebp - 0x13c]
cmp eax, 0xffffffff
je 0x10006637
test eax, eax
je 0x10006720
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x100066cd
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x10c]
cmp eax, 0x118
ja 0x100066e8
je 0x1000670a
cmp eax, 0xf
je 0x1000670a
cmp eax, 0xa0
jmp 0x100066ed
cmp eax, 0x200
je 0x1000670a
mov ecx, 1
xor eax, eax
test ecx, ecx
mov edx, ecx
mov dword [ebp - 0x13c], edx
cmove eax, esi
mov esi, eax
jmp 0x10006637
mov edx, dword [ebp - 0x13c]
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x10006637
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10006d80
lea ecx, [ebp - 0x134]
call fcn.100062e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.100056d0
call fcn.10007450
mov edi, eax
mov eax, dword [0x100e7cd0]
add eax, 0x10
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x38]
mov esi, eax
mov byte [ebp - 0x144], 1
test eax, eax
je 0x10006796
cmp dword [eax + 4], 0
jle 0x10006796
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [edi + 0x38]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test esi, esi
je 0x100067cb
mov eax, dword [esi]
test eax, eax
je 0x100067b2
push eax
call edi
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100abaf9
add esp, 8
mov esi, dword [ebp - 0x13c]
push dword [ebp - 0x148]
mov dword [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 3
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1000682e
mov eax, dword [esi]
test eax, eax
je 0x10006808
push eax
call edi
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000681c
push eax
call edi
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.100abaf9
add esp, 8
mov edi, dword [ebp - 0x13c]
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x10006863
cmp dword [esi], 0
je 0x10006863
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1000684d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x10006840
mov esi, dword [0x100e6248]
mov ecx, dword [0x100e624c]
cmp esi, ecx
jae 0x1000688d
mov eax, dword [esi]
test eax, eax
je 0x10006886
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x100e624c]
add esi, 4
cmp esi, ecx
jb 0x10006873
mov ecx, edi
call fcn.10002370
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov byte [ebp - 4], 2
call fcn.100327c0
mov esi, dword [eax]
cmp byte [esi], 0
je 0x100068c4
call fcn.100550c0
push esi
mov ecx, eax
call fcn.10055590
push edi
mov ecx, esi
call fcn.1004f7a0
mov byte [esi], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x14c], 0
je 0x100068dd
push dword [ebp - 0x150]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.100165f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ab466
mov esp, ebp
pop ebp
ret