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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fc4f9
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x5415b0]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x5415b0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x14], esi
cmp dword [ebp + 0x10], edi
je 0x43782a
cmp dword [ebx + 0x148], edi
jne 0x437827
push 0x68
call fcn.004d6a5a
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x190], edi
test eax, eax
je 0x437689
lea ecx, [ebx + 0x24]
push ecx
push ecx
mov ecx, eax
call fcn.00406e23
mov ecx, eax
jmp 0x43768b
mov ecx, edi
or dword [esp + 0x190], 0xffffffff
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4376aa
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
lea eax, [esp + 0x18]
mov dword [esp + 0x190], 1
push eax
lea ecx, [ebx + 0x148]
call fcn.00407130
or dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00405200
push esi
lea ecx, [esp + 0x16c]
call fcn.0040b733
mov dword [esp + 0x190], 2
call dword [sym.imp.Http.dll_public:_static_class_CSingleHostCGI____cdecl_CSingleHostCGI::GetThis_void_]
mov ecx, eax
call dword [sym.imp.Http.dll_public:_bool___thiscall_CSingleHostCGI::IsStartChangeHost_void_]
test al, al
je 0x43772a
mov edx, esi
lea ecx, [esp + 0x140]
call fcn.004373d1
push eax
lea ecx, [esp + 0x16c]
call fcn.0043841f
push edi
push 1
lea ecx, [esp + 0x148]
call fcn.0040bb2a
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], vtable.CefStructBase_struct_CefBrowserSettingsTraits_.0
mov dword [esp + 0x138], edi
call fcn.004052e5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], edi
call fcn.0043845c
mov dword [esp + 0x2c], vtable.CefWindowInfo.0
lea eax, [esp + 0x158]
mov byte [esp + 0x190], 4
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x160]
sub eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x164]
sub eax, edx
mov dword [esp + 0x40], 0x56010000
cmp dword [esp + 0x17c], 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x168]
cmovae eax, dword [esp + 0x168]
push eax
mov dword [esp + 0x4c], edx
call fcn.0040b68e
lea eax, [esp + 0x1c]
mov byte [esp + 0x190], 5
mov edx, dword [ebx + 0x148]
lea ecx, [esp + 0x2c]
push eax
call fcn.0040501a
pop ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
call fcn.0040632e
lea ecx, [esp + 0x2c]
call fcn.00438444
lea ecx, [esp + 0x6c]
call fcn.00405230
or dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x168]
push edi
push 1
call fcn.0040bb2a
push edi
jmp 0x437890
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x43788e
call fcn.004372a1
mov ecx, dword [ebx + 0x148]
mov esi, eax
push 1
call fcn.00407811
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esp + 0x18], edi
lea eax, [esp + 0x18]
mov dword [esp + 0x190], 6
push eax
lea ecx, [ebx + 0x148]
call fcn.00407130
or dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00405200
mov esi, dword [esp + 0x14]
push 5
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x437afd
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4378a9
sub ecx, edx
sar ecx, 1
je 0x437afd
mov eax, dword [ebx + 0x15c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x437904
mov ecx, dword [eax]
mov dword [eax + 0x2c], edi
test ecx, ecx
je 0x4378eb
mov ecx, dword [ecx + 0xe0]
test ecx, ecx
je 0x4378eb
xorps xmm1, xmm1
call fcn.00454cdf
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x437904
mov ecx, dword [eax + 0xe0]
test ecx, ecx
je 0x437904
xorps xmm1, xmm1
call fcn.00454cdf
call dword [sym.imp.Http.dll_public:_static_class_CSingleHostCGI____cdecl_CSingleHostCGI::GetThis_void_]
mov ecx, eax
call dword [sym.imp.Http.dll_public:_bool___thiscall_CSingleHostCGI::IsStartChangeHost_void_]
test al, al
jne 0x4379e7
cmp dword [ebx + 0x148], 0
je 0x437963
push esi
lea ecx, [esp + 0x20]
call fcn.0040b68e
lea eax, [esp + 0x1c]
mov dword [esp + 0x190], 7
mov ecx, dword [ebx + 0x148]
push eax
call fcn.004372ee
or dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
call fcn.0040632e
jmp 0x4379ba
cmp dword [ebx + 0x154], edi
je 0x4379ba
mov eax, dword [ebx + 0x154]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437983
push 0x80004003
call fcn.004f62a0
push esi
lea ecx, [esp + 0x1c]
call fcn.0041ad71
mov edx, dword [esp + 0x14]
push edi
push edi
push edi
push edi
mov dword [esp + 0x1a0], 8
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x2c]
or dword [esp + 0x190], 0xffffffff
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x14], eax
test eax, eax
je 0x437afd
push esi
lea ecx, [eax + 0x38]
call fcn.004028a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
jmp 0x437afd
mov edx, esi
lea ecx, [esp + 0x140]
call fcn.004373d1
mov dword [esp + 0x190], 9
cmp dword [ebx + 0x148], 0
je 0x437a46
push esi
lea ecx, [esp + 0x20]
call fcn.0040b68e
lea eax, [esp + 0x1c]
mov byte [esp + 0x190], 0xa
mov ecx, dword [ebx + 0x148]
push eax
call fcn.004372ee
mov byte [esp + 0x190], 9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
call fcn.0040632e
jmp 0x437aab
cmp dword [ebx + 0x154], edi
je 0x437aab
mov eax, dword [ebx + 0x154]
mov dword [esp + 0x14], eax
test eax, eax
je 0x437979
cmp dword [esp + 0x154], 8
lea eax, [esp + 0x140]
lea ecx, [esp + 0x28]
cmovae eax, dword [esp + 0x140]
push eax
call fcn.0041ad71
mov edx, dword [esp + 0x14]
push edi
push edi
push edi
push edi
mov byte [esp + 0x1a0], 0xb
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x2c]
mov byte [esp + 0x190], 9
push dword [esp + 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebx + 0x158]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x437ae6
cmp dword [esp + 0x154], 8
lea eax, [esp + 0x140]
cmovae eax, dword [esp + 0x140]
add ecx, 0x38
push eax
call fcn.004028a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
or dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x140]
push edi
push 1
call fcn.0040bb2a
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x437b2d
test esi, esi
je 0x437b2d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x437b13
sub ecx, edx
sar ecx, 1
je 0x437b2d
push esi
lea ecx, [ebx + 0x28]
call fcn.0045d160
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret 0xc