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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x174
mov eax, dword [0x41b1f0]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], esi
jmp 0x412042
xor esi, esi
cmp dword [esp + 0x10], 0xa
jl 0x41232e
call fcn.00411ed0
push 0xa
push str.guyewotune
lea ecx, [esp + 0x10c]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], esi
mov byte [esp + 0x10c], 0
call fcn.00402440
or dword [esp + 0x28], 1
push 4
mov dword [esp + 0x3c], 0x417120
mov dword [esp + 0x4c], 0x417128
mov dword [esp + 0x9c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], 0x201
mov dword [esp + 0xb4], 6
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xa8], esi
call fcn.00403d20
mov edi, eax
add esp, 4
cmp edi, esi
je 0x41213b
call fcn.00403038
mov dword [edi], eax
call fcn.00402df7
push esi
lea ecx, [esp + 0x30]
mov ebx, eax
call fcn.00403245
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x412130
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x2c]
call fcn.0040326d
jmp 0x41213d
xor edi, edi
lea eax, [esp + 0x50]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xd0], eax
lea edi, [esp + 0x34]
lea eax, [esp + 0x98]
mov dword [esp + 0xd4], esi
call fcn.00401630
mov edi, eax
call fcn.004029f0
mov edi, dword [esp + 0x34]
mov ebx, eax
test edi, edi
je 0x4121b2
push 0
lea ecx, [esp + 0x34]
call fcn.00403245
mov eax, dword [edi + 4]
test eax, eax
je 0x412192
cmp eax, 0xffffffff
jae 0x412192
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x30]
not esi
call fcn.0040326d
and esi, edi
je 0x4121b2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0x20
mov ecx, ebx
call eax
xor esi, esi
mov byte [esp + 0xd8], al
cmp dword [esp + 0xd0], esi
jne 0x4121f8
mov eax, dword [esp + 0xa4]
or eax, 4
and eax, 0x17
mov dword [esp + 0xa4], eax
test dword [esp + 0xa8], eax
je 0x4121f8
lea ecx, [esp + 0x98]
call fcn.00401570
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov edi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [esp + edx + 0x48], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x38], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + eax + 0x3c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.00402540
cmp dword [esp + 0x118], 0x10
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x50], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jae 0x412250
lea ecx, [esp + 0x104]
mov eax, dword [esp + 0x114]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
cmp eax, esi
je 0x412275
push ecx
mov ebx, eax
lea esi, [esp + 0x54]
call fcn.00402630
cmp dword [esp + 0x118], 0x10
jb 0x41228f
mov edx, dword [esp + 0x104]
push edx
call fcn.00403cc4
add esp, 4
fld qword [0x417170]
sub esp, 8
fstp qword [esp]
call fcn.00403b10
push 0x5eb4
fstp st(0)
push 0xa566
call fcn.00403c67
push 0x857ea
call fcn.00403c2d
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x4c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
add esp, 0x14
lea ecx, [esp + 0x50]
call fcn.00401b50
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x38], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x48], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x98]
mov dword [esp + ecx + 0x38], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push edx
mov dword [esp + 0x9c], vtable.std::ios_base.0
call fcn.00402d2d
mov eax, dword [esp + 0x14]
inc eax
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, 0x6a42b
jl 0x412040
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
call esi
call edi
lea ecx, [esp + 0xe4]
push ecx
call ebx
call esi
call edi
lea edx, [esp + 0xe4]
push edx
call ebx
call esi
call edi
lea eax, [esp + 0xe4]
push eax
call ebx
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x14], 0x19cf1
add dword [esp + 0x14], 0x932
mov dword [esp + 0x28], esi
xor ebx, ebx
mov byte [esp + 0x1b], 1
lea esp, [esp]
cmp ebx, 0xd97f
jle 0x4128ef
mov byte [esp + 0x1b], 0
call edi
cmp ebx, esi
jge 0x4128fc
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ExtractIconW]
inc ebx
cmp byte [esp + 0x1b], 0
jne 0x4128e0
mov dword [esp + 0x10], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov bl, 0x6c
lea ecx, [esp + 0x104]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
lea edx, [esp + 0x120]
push edx
push 0
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
lea eax, [esp + 0x148]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
cmp dword [esp + 0x10], 0x25543
jle 0x412971
cmp dword [esp + 0x104], 0x23b74f
je 0x412971
cmp dword [esp + 0x12c], 0x2e40a4d1
je 0x412971
cmp dword [esp + 0x168], 0x1f9adfd9
jne 0x4129c0
cmp dword [esp + 0x28], 0
jne 0x4129b7
push 0x41d348
mov dword [0x41d348], 0x6e72656b
mov byte [0x41d34c], 0x65
mov byte [0x41d34d], bl
mov dword [0x41d34e], 0x642e3233
mov byte [0x41d352], bl
mov byte [0x41d353], bl
mov byte [0x41d354], 0
call esi
mov dword [esp + 0x28], eax
inc dword [esp + 0x10]
jmp 0x412910
mov ecx, dword [esp + 0x28]
push 0x417034
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7b
mov dword [0x41d748], eax
call fcn.00403cb2
add esp, 4
push 0
push 0
call dword [sym.imp.USER32.dll_BeginPaint]
push 0
lea edx, [esp + 0xf8]
push edx
push 0
call dword [sym.imp.USER32.dll_GetUpdateRect]
mov eax, dword [0x416fb0]
call fcn.00411f90
mov eax, dword [esp + 0x14]
mov ebx, dword [0x41c4f4]
xor esi, esi
test eax, eax
je 0x412a85
test esi, esi
jne 0x412a26
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x41d750], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetAltTabInfoW]
mov al, byte [ebx + esi + 0x932]
mov ecx, dword [0x41d750]
mov byte [ecx + esi], al
cmp esi, 0x64
jne 0x412a7c
mov dword [esp + 0x10], 0
mov dword [esp + 0x10], 0x20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add eax, eax
push 0x41d754
push eax
mov dword [esp + 0x18], eax
mov eax, dword [0x41d750]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x412a15
mov ecx, dword [0x41d750]
add ecx, 0x200
mov ebx, eax
call fcn.00411fa0
call fcn.00411ea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
call edi
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov dword [edx + 4], 1
mov dword [esp + 0x1c], 0x557ada64
mov dword [esp + 0x24], 0x4821cc85
mov dword [esp + 0x20], 0x2588f05c
sub dword [esp + 0x1c], 0x809653
sub dword [esp + 0x1c], 0x26e9ba5a
sub dword [esp + 0x24], 0x55cdb53
sub dword [esp + 0x20], 0x291811f5
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004035e3
mov esp, ebp
pop ebp
ret 0x10