Function at 0x4029b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x119c
call fcn.00403ab0
mov eax, dword [0x459150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1198], eax
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x119c], ebx
push esi
test eax, eax
je 0x402d06
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x402d06
xor edx, edx
xor eax, eax
movzx ecx, byte [eax + esi]
cmp edx, ecx
je 0x402a04
inc eax
cmp eax, 0x100
jl 0x4029f2
jmp 0x402a0b
mov byte [ebp + edx - 0x188], al
inc edx
cmp edx, 0x100
jl 0x4029f0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, 0x8000
cmp dword [ebp + 0xc], edi
cmovbe edi, dword [ebp + 0xc]
mov dword [ebp - 0x1190], edi
test ebx, ebx
je 0x402a60
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402a60
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x640000
push 0
push 0x401
push ebx
call esi
push 0
push 1
push 0x402
push ebx
call esi
lea esi, [edi - 0xa00]
shr esi, 9
test edi, 0x1ff
je 0x402a72
inc esi
mov dword [ebp - 0x1194], 0
test esi, esi
je 0x402b09
mov dword [ebp - 0x118c], 0
mov edi, 0xa00
mov eax, edi
mov byte [ebp - 0x81], 0x8a
sar eax, 8
mov byte [ebp - 0x80], al
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x84]
mov word [ebp - 0x7f], 0x100
push eax
call fcn.004028e0
add esp, 8
test eax, eax
je 0x402cf3
mov eax, dword [ebp - 0x118c]
cdq
idiv esi
push eax
push 0
push 0x8065
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1194]
add edi, 0x200
add dword [ebp - 0x118c], 0x64
inc eax
mov dword [ebp - 0x1194], eax
cmp eax, esi
jl 0x402a93
mov edi, dword [ebp - 0x1190]
lea esi, [edi - 2]
cmp esi, 0xa00
jbe 0x402b32
mov eax, dword [ebp - 0x1198]
nop word [eax + eax]
cmp byte [eax + esi], 0xff
jne 0x402b31
dec esi
cmp esi, 0xa00
ja 0x402b20
jmp 0x402b32
inc esi
sub esi, 0xa00
mov ebx, esi
shr ebx, 5
mov dword [ebp - 0x118c], ebx
and esi, 0x1f
je 0x402b4f
inc ebx
mov dword [ebp - 0x118c], ebx
push 0x1000
lea eax, [ebp - 0x1188]
push 0
push eax
call fcn.00405810
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0
div ebx
mov eax, ebx
sub eax, edx
mov dword [ebp - 0x1190], eax
lea edi, [edx - 1]
je 0x402b9a
mov ebx, eax
lea eax, [edx + ecx]
mov dword [ebp + ecx*4 - 0x1188], eax
inc ecx
cmp ecx, ebx
jb 0x402b85
mov ebx, dword [ebp - 0x118c]
cmp ecx, ebx
jae 0x402bad
nop
mov dword [ebp + ecx*4 - 0x1188], edi
inc ecx
dec edi
cmp ecx, ebx
jb 0x402ba0
mov edi, dword [ebp - 0x119c]
test edi, edi
je 0x402bf0
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402bf0
movzx eax, bx
shl eax, 0x10
push eax
push 0
push 0x401
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x402
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
test ebx, ebx
je 0x402cbc
lea eax, [ebx - 1]
mov dword [ebp - 0x1190], eax
lea ecx, [edi + 0x20]
nop word [eax + eax]
mov edx, dword [ebp + edi*4 - 0x1188]
mov byte [ebp - 0x81], 0x79
lea ebx, [edx + 0x50]
shl ebx, 5
mov eax, ebx
mov byte [ebp - 0x7f], bl
shr eax, 8
test esi, esi
mov byte [ebp - 0x80], al
mov eax, esi
cmove eax, ecx
cmp edx, dword [ebp - 0x1190]
movzx eax, al
cmove ecx, eax
movzx eax, cl
push eax
mov eax, dword [ebp - 0x1198]
add eax, ebx
mov byte [ebp - 0x7e], cl
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00405290
add esp, 0xc
mov eax, 8
cmp byte [ebp + eax - 0x84], 0xff
jne 0x402c75
inc eax
cmp eax, 0x28
jl 0x402c63
jmp 0x402c8f
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004028e0
add esp, 8
test eax, eax
je 0x402cf3
push edi
push 0
push 0x8065
push dword [ebp - 0x119c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
mov ecx, 0x20
cmp edi, dword [ebp - 0x118c]
jb 0x402c10
lea eax, [ebp - 0x188]
mov dword [ebp - 0x81], 0xaa4
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004028e0
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403a54
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403a54
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a54
mov esp, ebp
pop ebp
ret