Function at 0x467988
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov byte [ebp - 0xa], 0
mov eax, dword [0x48d488]
cmp byte [eax], 0
jbe 0x4679c6
push 0
mov eax, dword [0x48d488]
movzx eax, byte [eax]
add eax, 0x7f
push eax
push 0x111
mov eax, dword [0x48d858]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
cmp byte [ebx + 0x559], 0
jne 0x467b27
mov dl, byte [ebx + 0x55d]
movsx eax, dl
mov ecx, dword [0x48d340]
cmp byte [ecx + eax - 1], 0xff
je 0x467a34
mov ecx, dword [0x48d408]
cmp dword [ecx + eax*4 - 4], 0
jne 0x467a34
lea ecx, [ebx + 0x4a4]
mov eax, edx
mov dl, 1
call fcn.0042269c
mov eax, dword [0x48d714]
mov word [eax], 0
cmp byte [ebx + 0x564], 0
jne 0x467a34
mov eax, ebx
call fcn.0047e098
add esp, 0xfffffff8
fistp qword [esp]
wait
mov dx, word [ebx + 0x534]
mov al, 1
call fcn.004429a8
cmp esi, 0xffffffff
je 0x467a4a
xor eax, eax
mov al, byte [ebx + 0x3d0]
mov dword [ebx + eax*4 + 0x3d4], esi
jmp 0x467a75
lea eax, [ebp - 9]
push eax
push 0
push 0
lea ecx, [ebx + 0x4a4]
mov dl, byte [ebx + 0x55d]
mov eax, dword [ebp - 4]
call fcn.00420948
xor edx, edx
mov dl, byte [ebx + 0x3d0]
mov dword [ebx + edx*4 + 0x3d4], eax
xor eax, eax
mov al, byte [ebx + 0x3d0]
mov eax, dword [ebx + eax*4 + 0x3d4]
cmp eax, 0xfffffffd
ja 0x468228
movsx edx, byte [ebx + 0x55d]
mov ecx, dword [0x48d340]
cmp byte [ecx + edx - 1], 0xff
jne 0x467ab5
lea eax, [ebx + 0x4a4]
xor ecx, ecx
mov edx, esi
call fcn.0041ef58
mov dword [ebp - 8], eax
jmp 0x467acb
xor edx, edx
mov dl, byte [ebx + 0x3d0]
lea edx, [ebx + 0x4a4]
call fcn.0041ea80
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
je 0x467b27
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d340]
cmp byte [edx + eax - 1], 0xff
jne 0x467b0a
lea eax, [ebx + 0x4a4]
mov edx, dword [ebp - 8]
call fcn.0041eb50
xor edx, edx
mov dl, byte [ebx + 0x3d0]
mov dword [ebx + edx*4 + 0x3d4], eax
jmp 0x467b27
lea edx, [ebx + 0x4a4]
mov eax, dword [ebp - 8]
call fcn.0041ea20
xor edx, edx
mov dl, byte [ebx + 0x3d0]
mov dword [ebx + edx*4 + 0x3d4], eax
mov eax, dword [0x48d400]
cmp dword [eax], 0
jne 0x467b3c
mov eax, dword [0x48d400]
mov dword [eax], fcn.0046759c
cmp word [ebx + 0x1b2], 0xc8
jge 0x467b6e
mov ax, 0x12c
mov word [ebx + 0x1b2], ax
push 2
movsx eax, ax
push eax
movsx eax, word [ebx + 0x1b0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [0x48d550]
cmp dword [eax + 0xa54], 0
jne 0x467b97
movsx eax, word [ebx + 0x1b2]
mov ecx, 3
cdq
idiv ecx
mov edx, dword [0x48d550]
mov dword [edx + 0xa54], eax
movsx edx, word [ebx + 0x1b2]
sub edx, 0x16
mov eax, dword [0x48d1c4]
movsx eax, word [eax]
sub edx, eax
mov eax, dword [0x48d550]
mov eax, dword [eax + 0xa54]
call fcn.0040bb7c
mov esi, eax
mov eax, dword [0x48d550]
mov dword [eax + 0xa54], esi
mov eax, dword [0x48d550]
mov eax, esi
mov edx, 0x3c
call fcn.0040bb84
mov edx, dword [0x48d550]
mov dword [edx + 0xa54], eax
mov eax, dword [0x48d550]
mov ax, word [eax + 0xa54]
mov word [ebx + 0x1b4], ax
mov eax, dword [0x48d4ac]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [0x48d4ac]
mov eax, dword [eax + 8]
mov edx, dword [0x48d550]
mov dword [edx + 0xa50], eax
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
cmp dword [ebx + 0x1a8], 0
je 0x467c6d
mov eax, ebx
call fcn.00466fcc
cmp byte [ebp + 0xc], 0
je 0x467c5a
lea eax, [ebx + 0x1d0]
call fcn.0040fb28
mov edx, eax
lea eax, [ebx + 0x2d0]
call fcn.00405c48
push 0
mov eax, dword [ebx + 0x1a8]
push eax
call sub.user32.dll_ShowWindow
jmp 0x467d9c
xor eax, eax
mov dword [ebx + 0x1b8], eax
mov byte [ebx + 0x2d0], 0
push 0
mov eax, dword [0x48e700]
push eax
push 0x1e240
mov eax, dword [ebx]
push eax
mov eax, dword [0x48d550]
mov eax, dword [eax + 0xa54]
sub eax, 0xf
sub eax, 2
push eax
mov eax, dword [0x48d550]
mov eax, dword [eax + 0xa50]
push eax
push 0xf
push 0
push 0x4001040d
push 0
push 0x468234
push 0x200
call sub.user32.dll_CreateWindowExA
mov esi, eax
mov dword [ebx + 0x1a8], esi
test esi, esi
jne 0x467cee
call sub.kernel32.dll_GetLastError_1
call fcn.0040f5f0
mov eax, dword [0x48da44]
mov edx, 1
call fcn.00411d74
jmp 0x468228
push 0x4672f0
push 0xfffffffffffffffc
mov eax, dword [ebx + 0x1a8]
push eax
call sub.user32.dll_SetWindowLongA
mov edx, dword [0x48d708]
mov dword [edx], eax
lea eax, [ebp - 0x23]
mov edx, 0x18
call fcn.00405a9c
mov dword [ebp - 0x23], 0xf
xor esi, esi
mov edi, dword [0x48d550]
add edi, 0x1dea
movsx eax, word [edi]
mov dword [ebp - 0x1b], eax
mov eax, esi
call fcn.00466ea4
mov dword [ebp - 0x17], eax
xor eax, eax
mov dword [ebp - 0x1f], eax
cmp esi, 1
jne 0x467d4c
mov dword [ebp - 0x1f], 1
cmp esi, 2
jne 0x467d58
mov dword [ebp - 0x1f], 2
lea ecx, [ebp - 0x23]
mov eax, dword [ebx + 0x1a8]
mov edx, esi
call fcn.0040b440
inc esi
add edi, 2
cmp esi, 7
jne 0x467d2b
mov eax, dword [0x48d550]
cmp byte [eax + 0x189f], 0
jbe 0x467d9c
call fcn.00466dfc
mov edx, dword [0x48d66c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x1a8]
mov ecx, 1
call fcn.0040b2f4
lea eax, [ebx + 0x1d0]
mov edx, dword [ebp - 4]
call fcn.00405c48
xor eax, eax
mov al, byte [ebx + 0x3d0]
mov dl, byte [ebp + 8]
mov byte [ebx + eax + 0x454], dl
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d340]
cmp byte [edx + eax - 1], 0xff
jne 0x467e1a
cmp byte [ebx + 0x3d0], 0
jne 0x467e1a
cmp dword [ebp + 0x10], 0
jne 0x467e1a
cmp byte [ebx + 0x559], 0
jne 0x467e1a
push 0
push 0
push 0
push 0
push 0
push 0x10
push 1
push 0
push 0xc
push 0
push 0
mov ax, 0x336
call fcn.0040bc04
mov edx, eax
mov cl, byte [ebx + 0x55d]
mov eax, dword [ebx + 0x1a8]
call fcn.0046759c
cmp byte [ebx + 0x3d0], 0
jbe 0x467eff
cmp byte [ebx + 0x559], 0
jne 0x467eff
mov al, byte [ebx + 0x55d]
movsx edx, al
mov ecx, dword [0x48d340]
cmp byte [ecx + edx - 1], 0xff
jne 0x467e88
push 0
push 0
push 0
push 0
push 0
push 0x10
push 1
movzx esi, byte [ebx + 0x3d0]
mov dl, byte [ebx + esi + 0x453]
push edx
mov edx, dword [ebx + esi*4 + 0x3d0]
push edx
push 0
push 0
mov ecx, eax
mov edx, dword [0x48dacc]
mov eax, dword [ebx + 0x1a8]
call fcn.0046759c
jmp 0x467eff
mov eax, dword [ebp - 8]
call fcn.0040fd30
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmulp st(1)
fadd dword [0x468244]
mov eax, dword [0x48d318]
fistp qword [eax]
wait
push 0
push 0
push 0
push 0
push 0
push 0x10
push 1
xor eax, eax
mov al, byte [ebx + 0x3d0]
mov dl, byte [ebx + eax + 0x453]
push edx
mov eax, dword [ebx + eax*4 + 0x3d0]
push eax
mov eax, dword [0x48d318]
push dword [eax + 4]
push dword [eax]
mov cl, byte [ebx + 0x55d]
mov edx, dword [0x48dacc]
mov eax, dword [ebx + 0x1a8]
call fcn.0046759c
cmp byte [ebx + 0x559], 0
jne 0x468115
mov eax, dword [0x48d9c4]
mov byte [eax], 1
mov eax, dword [0x48d2b0]
cmp byte [eax], 0
je 0x467f26
mov eax, dword [0x48d768]
mov byte [eax], 1
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d340]
mov al, byte [edx + eax - 1]
cmp al, 1
je 0x467f5d
movsx edx, byte [ebx + 0x55d]
mov ecx, dword [0x48d340]
cmp al, 2
je 0x467f5d
movsx edx, byte [ebx + 0x55d]
mov ecx, dword [0x48d340]
cmp al, 3
jne 0x467f9d
lea eax, [ebx + 0x4a4]
xor edx, edx
call fcn.0041f698
mov eax, dword [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebx + 0x3d0]
mov eax, dword [ebx + eax*4 + 0x3d4]
push eax
lea eax, [ebx + 0x4a4]
push eax
mov al, byte [ebp + 8]
push eax
mov edx, dword [ebx + 0x1a8]
mov al, byte [ebx + 0x55d]
mov ecx, dword [ebp - 4]
call fcn.0041f7cc
mov al, byte [ebx + 0x55d]
movsx edx, al
mov ecx, dword [0x48d340]
cmp byte [ecx + edx - 1], 0xff
jne 0x4680e5
push 0
lea edx, [ebx + 0x4a4]
push edx
mov dl, byte [ebp + 8]
push edx
push 0
push 0
push 0
mov edx, dword [ebx + 0x1a8]
mov ecx, dword [ebp - 8]
call fcn.0041fe18
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d408]
mov eax, dword [edx + eax*4 - 4]
test eax, eax
je 0x4680e5
movsx edx, byte [ebx + 0x55d]
mov ecx, dword [0x48d408]
mov esi, eax
add esi, 0x10
add esi, 0x10
mov byte [ebp - 0xb], 0
jmp 0x4680cd
lea eax, [esi + 3]
mov eax, dword [eax]
and eax, 0xffffff
xor edx, edx
mov dl, byte [ebx + 0x3d0]
mov edx, dword [ebx + edx*4 + 0x3d4]
dec eax
cmp edx, eax
je 0x46803a
xor eax, eax
mov al, byte [ebx + 0x3d0]
cmp edx, 0xc
jne 0x46805a
mov eax, dword [esi]
and eax, 0xffffff
dec eax
push eax
lea ecx, [ebx + 0x4a4]
mov dl, byte [ebx + 0x55d]
mov eax, dword [ebx + 0x1a8]
call fcn.0041dd8c
add esi, 6
xor eax, eax
mov al, byte [ebx + 0x3d0]
cmp dword [ebx + eax*4 + 0x3d4], 0xc
jne 0x4680cd
cmp dword [ebx + 0x1b8], 0x1f4
jl 0x4680a6
cmp byte [ebp - 0xb], 0
jne 0x4680a6
mov ax, 0x136
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d948]
call fcn.00405c48
mov eax, dword [0x48d948]
mov dl, 1
call fcn.0040e810
mov byte [ebp - 0xb], 1
cmp byte [ebp - 0xb], 0
je 0x4680cd
mov eax, dword [ebx + 0x1b8]
mov ecx, 0x32
cdq
idiv ecx
test edx, edx
jne 0x4680cd
call fcn.0040f494
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
jne 0x4680d6
cmp dword [esi], 0
jne 0x46800f
cmp byte [ebp - 0xb], 0
je 0x4680e5
call fcn.0040eb04
mov byte [ebp - 0xa], 1
mov eax, dword [0x48d9c4]
mov byte [eax], 0
mov eax, dword [0x48d768]
cmp byte [eax], 0
je 0x468115
mov eax, dword [0x48d768]
mov byte [eax], 0
mov eax, dword [0x48d844]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x48d844]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebx]
call fcn.00469800
mov ax, word [ebx + 0x534]
call fcn.00447f94
mov ecx, dword [0x48d550]
movzx ecx, byte [ecx + 0x189a]
mov edx, 0x466ee8
mov eax, dword [ebx + 0x1a8]
call fcn.0040b514
cmp byte [ebp + 0xc], 0
jne 0x468155
xor eax, eax
mov dword [ebx + 0x1cc], eax
jmp 0x46819f
mov edi, dword [ebx + 0x1b8]
dec edi
test edi, edi
jl 0x46819f
inc edi
xor esi, esi
mov eax, dword [0x48da44]
push eax
push 0xff
mov eax, dword [ebx + 0x1a8]
xor ecx, ecx
mov edx, esi
call fcn.0040b4b8
lea eax, [ebx + 0x2d0]
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x46819b
mov dword [ebx + 0x1cc], esi
jmp 0x46819f
inc esi
dec edi
jne 0x468163
push 3
mov edx, dword [ebx + 0x1cc]
mov eax, dword [ebx + 0x1a8]
mov ecx, 3
call fcn.0040b488
mov edx, dword [ebx + 0x1cc]
mov eax, dword [ebx + 0x1a8]
xor ecx, ecx
call fcn.0040b3dc
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
mov eax, dword [0x48d550]
cmp byte [eax + 0xa45], 0
je 0x4681f6
mov eax, dword [ebx + 0x1a8]
push eax
call sub.user32.dll_SetFocus
push 5
mov eax, dword [ebx + 0x1a8]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 0xa], 0
je 0x468228
mov eax, 0x96
call fcn.0040f448
mov eax, dword [0x48d5c8]
mov byte [eax], 3
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_InvalidateRect
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc