Function at 0x404e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x64006c]
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.0050ba40
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 0x404f0b
xor ecx, ecx
jmp 0x404f1d
lea ecx, [ebp - 0x114]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404f14
sub ecx, esi
push ecx
lea eax, [ebp - 0x114]
mov ecx, edx
push eax
call fcn.00406340
call fcn.00449c40
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.00405d70
mov ebx, dword [ebp - 0x128]
test al, al
je 0x404fc1
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.004083e0
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x124], ecx
jmp 0x404fc7
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 0x4050d7
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 0x405030
mov ebx, dword [esi]
jmp 0x405032
mov ebx, esi
push 0xffffffffffffffff
push ebx
mov ecx, edx
call fcn.004ce2e9
mov edi, eax
test edi, edi
je 0x405097
mov edx, dword [edi]
mov ecx, edi
push str.check
call dword [edx + 4]
test eax, eax
je 0x405097
mov bl, byte [ebp + 8]
test bl, bl
je 0x405062
mov ecx, edi
call fcn.004cf51a
jmp 0x405064
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 0x4050ac
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 0x405026
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.00405d10
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.004c2344
mov esp, ebp
pop ebp
ret 4