Function at 0x4049d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d998b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x134], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, 0x10624dd3
mov dword [edi + 0x3b8], edx
sub edx, dword [edi + 0x3b4]
mul edx
push 0x104
lea eax, [ebp - 0x114]
mov esi, edx
push 0
push eax
shr esi, 6
call fcn.0050b8e0
push esi
lea eax, [ebp - 0x114]
push str.time__ld
push eax
call fcn.00401a50
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x114], 0
jne 0x404a6b
xor ecx, ecx
jmp 0x404a7d
lea ecx, [ebp - 0x114]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404a74
sub ecx, esi
push ecx
lea eax, [ebp - 0x114]
mov ecx, edx
push eax
call fcn.00405e90
call fcn.00449590
add esp, 0x18
push 0
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00403670
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov dword [ebp - 0x128], 0
mov eax, 0x1b4e81b5
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
lea ecx, [ebp - 0x128]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.004058d0
mov ebx, dword [ebp - 0x128]
test al, al
je 0x404b21
mov edx, dword [esi + 4]
push ecx
mov byte [ebp - 0x118], 0
push dword [ebp - 0x118]
push ecx
mov ecx, dword [esi]
push ebx
call fcn.00407f30
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x124], ecx
jmp 0x404b27
mov ecx, dword [ebp - 0x124]
sub ecx, ebx
mov dword [ebp - 4], 0
mov eax, 0x1b4e81b5
mov dword [ebp - 0x118], 0
imul ecx
mov esi, 3
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
mov eax, ecx
cmovg eax, esi
test eax, eax
jle 0x404c37
cmp ecx, esi
lea edx, [edi + 4]
mov eax, 0xffffff1c
mov dword [ebp - 0x11c], edx
cmovg ecx, esi
sub eax, ebx
mov dword [ebp - 0x130], ecx
lea esi, [ebx + 0xe4]
mov dword [ebp - 0x12c], eax
cmp dword [esi + 0x14], 8
jb 0x404b90
mov ebx, dword [esi]
jmp 0x404b92
mov ebx, esi
push 0xffffffffffffffff
push ebx
mov ecx, edx
call fcn.004ce044
mov edi, eax
test edi, edi
je 0x404bf7
mov edx, dword [edi]
mov ecx, edi
push str.check
call dword [edx + 4]
test eax, eax
je 0x404bf7
mov bl, byte [ebp + 8]
test bl, bl
je 0x404bc2
mov ecx, edi
call fcn.004cf275
jmp 0x404bc4
xor eax, eax
mov ecx, dword [ebp - 0x128]
mov dword [esi - 4], eax
mov eax, dword [ebp - 0x12c]
add eax, esi
mov byte [eax + ecx + 0xfc], bl
call fcn.00403670
push dword [ebp - 0x118]
lea ecx, [esi - 0xe4]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
jmp 0x404c0c
push 0xffffffffffffffff
push ebx
push str.check
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
call fcn.00401a70
add esp, 0x10
mov ecx, dword [ebp - 0x118]
add esi, 0x12c
mov edx, dword [ebp - 0x11c]
inc ecx
mov dword [ebp - 0x118], ecx
cmp ecx, dword [ebp - 0x130]
jl 0x404b86
mov edi, dword [ebp - 0x134]
call fcn.00403670
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x128]
call fcn.00405870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret 4