Function at 0x100022c7
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x60]
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
call fcn.1000106f
push dword [esp + 0x64]
lea ecx, [esp + 0x28]
call fcn.1000106f
push 0x100171e8
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.10001504
cmp eax, 0xffffffff
jle 0x1000230d
mov dword [esp + 0x14], 1
push dword [esp + 0x58]
mov dword [esp + 0x64], ebx
call fcn.10001dc3
mov esi, eax
pop ecx
cmp esi, ebx
je 0x10002ab2
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1b0]
test eax, eax
jne 0x10002ab2
push 5
push dword [esp + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x60]
push 0xfffffc18
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
push 1
mov dword [esp + 0x20], eax
call edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esp + 0x68], ebx
je 0x1000239c
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x5c]
sar ebp, 1
add ebp, dword [eax]
jmp 0x100023a2
mov eax, dword [esp + 0x5c]
mov ebp, dword [eax]
mov eax, dword [esp + 0x5c]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov dword [esp + 0x38], edi
cmp edi, eax
jle 0x100023e6
mov eax, dword [0x10019e20]
push 0x14
xor edx, edx
pop ecx
div ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
sub edx, dword [esp + 0x48]
add edx, dword [esp + 0x40]
lea esi, [edx + edi + 0x1a]
push esi
push ebx
push eax
call dword [ecx + pe_nt_image_headers32]
sub edi, esi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
cmp ebp, eax
jle 0x1000241b
mov eax, dword [0x10019e20]
push 0x14
xor edx, edx
pop esi
div esi
mov eax, dword [esp + 0x60]
push ebx
sub edx, dword [esp + 0x48]
add edx, ebp
lea esi, [edx + ecx + 0x14]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + pe_nt_image_headers32]
sub ebp, esi
push 1
mov dword [esp + 0x24], ebx
pop ecx
mov dword [esp + 0x54], ebx
cmp word [esp + 0x6c], cx
je 0x1000244c
cmp dword [esp + 0x14], ebx
je 0x100024f8
mov eax, dword [0x10019e20]
push 0x64
xor edx, edx
pop esi
div esi
cmp edx, 0x5f
jae 0x100024f8
mov edi, dword [0x1001ab7c]
inc dword [0x1001ab7c]
cmp dword [0x1001ab7c], 0x64
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edi
jl 0x10002473
mov dword [0x1001ab7c], 0x63
imul edi, edi, 0x1c
mov dword [esp + 0x68], edi
lea ecx, [edi + 0x1001a074]
mov dword [edi + 0x1001a080], ebx
call fcn.10001392
mov esi, dword [esp + 0x5c]
lea edi, [edi + 0x1001a07c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x10018ef8]
push 5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
cmp eax, esi
jbe 0x100024a7
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
div esi
mov eax, dword [0x10019e20]
mov ecx, edx
xor edx, edx
inc ecx
div ecx
mov eax, dword [esp + 0x68]
lea eax, [eax + 0x1001a07c]
cmp edx, ebx
mov dword [eax], edx
je 0x100024f4
cmp dword [esp + 0x14], ebx
jne 0x100024e6
push 0x100171e4
lea ecx, [esp + 0x30]
call fcn.10001504
cmp eax, 0xffffffff
jle 0x100024f4
mov eax, dword [esp + 0x68]
mov dword [eax + 0x1001a080], 1
mov edi, dword [esp + 0x38]
push 3
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esp + 0x70]
call esi
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esp + 0x70]
call esi
cmp dword [esp + 0x74], ebx
mov esi, dword [sym.imp.USER32.dll_mouse_event]
je 0x10002584
mov eax, dword [esp + 0x40]
push ebx
add eax, edi
push ebx
shl eax, 0x10
cdq
idiv dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x48]
add eax, ebp
add eax, dword [esp + 0x80]
shl eax, 0x10
cdq
idiv dword [esp + 0x28]
push eax
push 0x8001
call esi
push ebx
push ebx
push ebx
push ebx
push 6
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 1
push ebx
push 0x39
call dword [sym.imp.USER32.dll_keybd_event]
push ebx
push 2
push ebx
push 0x39
call dword [sym.imp.USER32.dll_keybd_event]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x40]
push ebx
add eax, edi
push ebx
shl eax, 0x10
cdq
idiv dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x48]
add eax, ebp
shl eax, 0x10
cdq
idiv dword [esp + 0x28]
push eax
push 0x8001
call esi
push ebx
push ebx
push ebx
push ebx
push 6
call esi
push ebx
push str.IEFrame
mov dword [esp + 0x7c], ebx
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, dword [esp + 0x50]
mov edi, eax
cmp edi, dword [esp + 0x58]
mov dword [esp + 0x5c], edi
jne 0x10002616
mov eax, dword [esp + 0x74]
inc dword [esp + 0x74]
cmp eax, 0xc8
jge 0x10002616
push 1
push ebp
call fcn.10004a57
cmp dword [esp + 0x7c], 0x46
pop ecx
pop ecx
jne 0x100025fe
push ebx
push dword [esp + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push str.IEFrame
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov edi, eax
je 0x100025d3
cmp dword [esp + 0x20], ebx
je 0x10002664
cmp edi, dword [esp + 0x58]
je 0x10002664
mov eax, dword [esp + 0x54]
push dword [esp + 0x70]
imul eax, eax, 0x1c
mov dword [eax + 0x1001a070], edi
lea eax, [eax + 0x1001a074]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.10001576
cmp word [esp + 0x6c], 1
je 0x10002664
cmp dword [esp + 0x64], 0x100171d8
jne 0x10002664
mov ecx, dword [esp + 0x74]
push 0x100171d4
call fcn.1000171e
push ebx
push dword [esp + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
push ebp
call fcn.10004a57
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [0x10018ef8]
mov eax, 0x12c
imul edi, edi, 0x3c
cmp edi, eax
jge 0x10002695
mov edi, eax
mov eax, edi
dec edi
test eax, eax
jl 0x100026c6
mov eax, dword [esp + 0x54]
imul eax, eax, 0x1c
lea eax, [eax + 0x1001a080]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
cmp dword [eax], ebx
je 0x100026c6
push 0x64
push ebp
call fcn.10004a57
mov eax, edi
pop ecx
dec edi
pop ecx
test eax, eax
jge 0x100026ad
mov edi, dword [esp + 0x54]
imul edi, edi, 0x1c
mov dword [edi + 0x1001a07c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x10002aa0
cmp eax, dword [esp + 0x58]
je 0x10002aa0
cmp word [esp + 0x6c], 1
jne 0x10002a0a
push 0x258
push ebp
call fcn.10004a57
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0xbb8
div ecx
push edx
push ebp
call fcn.10004a57
add esp, 0x10
push 5
push dword [esp + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esp + 0x74]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esp + 0x74]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, dword [edi + 0x1001a088]
shl eax, 0x10
cdq
idiv ecx
push ebx
push ebx
push eax
mov eax, dword [edi + 0x1001a084]
shl eax, 0x10
cdq
idiv dword [esp + 0x64]
push eax
push 0x8001
call esi
push ebx
push ebx
push ebx
push ebx
push 6
call esi
mov dword [esp + 0x74], ebx
push ebx
push str.IEFrame
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
jne 0x100027db
mov eax, dword [esp + 0x74]
inc dword [esp + 0x74]
cmp eax, 0xc8
jge 0x100027db
push 1
push ebp
call fcn.10004a57
cmp dword [esp + 0x7c], 0x46
pop ecx
pop ecx
jne 0x10002798
push ebx
push dword [esp + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10002798
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x1001a080], ebx
shr eax, 0x10
cmp ax, 1
mov dword [edi + 0x1001a07c], ebx
mov dword [esp + 0x58], eax
jne 0x10002835
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x5c]
je 0x10002835
mov edi, dword [0x1001ab7c]
inc dword [0x1001ab7c]
cmp dword [0x1001ab7c], 0x64
jl 0x10002821
mov dword [0x1001ab7c], 0x63
imul edi, edi, 0x1c
lea ecx, [edi + 0x1001a074]
mov dword [edi + 0x1001a070], eax
call fcn.10001392
push 0x46
push ebp
call fcn.10004a57
pop ecx
pop ecx
push ebx
push dword [esp + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x100029e7
cmp eax, dword [esp + 0x5c]
je 0x100029e7
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x78], 2
je 0x100029b4
cmp word [esp + 0x58], 1
je 0x10002891
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp edx, 0xf
jae 0x100029b4
push 0x3e8
push ebp
call fcn.10004a57
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0xbb8
div ecx
push edx
push ebp
call fcn.10004a57
add esp, 0x10
push 5
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, dword [edi + 0x1001a088]
shl eax, 0x10
cdq
idiv ecx
push ebx
push ebx
push eax
mov eax, dword [edi + 0x1001a084]
shl eax, 0x10
cdq
idiv dword [esp + 0x64]
push eax
push 0x8001
call esi
push ebx
push ebx
push ebx
push ebx
push 6
call esi
push 0x14
push ebp
call fcn.10004a57
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
pop ecx
push ebx
push dword [esp + 0x14]
call esi
push 0x32
push ebp
call fcn.10004a57
pop ecx
pop ecx
push ebx
push str.IEFrame
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x58], edi
je 0x10002991
push ebx
push edi
call esi
push 0x1f4
push ebp
call fcn.10004a57
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0x9c4
div ecx
push edx
push ebp
call fcn.10004a57
add esp, 0x10
push ebx
push ebx
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x100029b4
push 0x12c
push ebp
call fcn.10004a57
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0x9c4
div ecx
push edx
push ebp
call fcn.10004a57
add esp, 0x10
push 0x1f4
push ebp
call fcn.10004a57
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0x9c4
div ecx
push edx
push ebp
call fcn.10004a57
add esp, 0x10
push ebx
push ebx
push 0x10
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x10002a0a
push 0x12c
push ebp
call fcn.10004a57
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0x9c4
div ecx
push edx
push ebp
call fcn.10004a57
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.100013ec
test al, al
jne 0x10002a7a
cmp dword [esp + 0x14], ebx
jne 0x10002a31
push 0x10017144
lea ecx, [esp + 0x28]
call fcn.10001860
test eax, eax
jne 0x10002a4d
jmp 0x10002a7a
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10002a7a
cmp eax, dword [esp + 0x5c]
je 0x10002a7a
push str.GGDA
lea ecx, [esp + 0x28]
call fcn.10001576
push ebx
push dword [esp + 0x2c]
call fcn.10001e6a
lea ecx, [esp + 0x34]
mov eax, esp
push ecx
push 0x10019e78
push eax
call fcn.10001661
add esp, 0xc
push dword [0x10017140]
call fcn.10004cbc
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push ebx
push ebx
push 0x10
push dword [esp + 0x68]
call esi
push ebx
push ebx
push 0x10
push dword [esp + 0x1c]
call esi
push ebx
push ebx
push 0x10
push dword [esp + 0x64]
call esi
jmp 0x10002acc
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0xbb8
div ecx
push edx
push ebp
jmp 0x10002ac5
mov eax, dword [0x10019e20]
xor edx, edx
mov ecx, 0xbb8
div ecx
push edx
push dword [esp + 0x54]
call fcn.10004a57
pop ecx
pop ecx
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x10002ada
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x24]
call fcn.10001171
lea ecx, [esp + 0x2c]
call fcn.10001171
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret