Function at 0x460780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4673e6
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x479008]
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 esi, ecx
mov eax, dword [esi + 0x220]
mov dword [esi + 0xcc], eax
test eax, eax
jne 0x4607dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0xcc], eax
test eax, eax
jne 0x4607dc
mov eax, dword [esi + 4]
mov dword [esi + 0xcc], eax
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xac], 0xffffffff
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0xa4], 0xffffffff
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xe4], 0xffffffff
mov dword [esi + 0xe8], 0xffffffff
mov dword [esi + 0xec], 0xffffffff
mov dword [esi + 0xf0], 0xffffffff
mov dword [esi + 0xf4], 0xffffffff
mov dword [esi + 0x138], 0xffffffff
mov dword [esi + 0x13c], 0xffffffff
mov dword [esi + 0x130], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xf8], 0xffffffff
mov dword [esi + 0xfc], 0xffffffff
mov dword [esi + 0x100], 0xffffffff
mov dword [esi + 0x104], 0xffffffff
mov dword [esi + 0x108], 0xffffffff
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x110], 0xffffffff
mov dword [esi + 0x114], 0xffffffff
mov eax, dword [esi + 0x118]
mov dword [esi + 0x11c], 0
push 0x64
mov word [eax], cx
mov eax, dword [esi + 0x124]
mov dword [esi + 0x128], ecx
mov word [eax], cx
push dword [esi + 4]
mov byte [esi + 0x140], 1
call ebx
push 0x65
push dword [esi + 4]
mov dword [esi + 0xb0], eax
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x2005
push eax
mov dword [esi + 0xb4], eax
call edi
push 0x20
push 0
push 0x1036
push dword [esi + 0xb4]
call edi
push dword [esi + 0x160]
mov byte [esi + 0x148], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x460959
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1bc
push dword [esi + 4]
call ebx
lea edi, [esi + 0x30]
mov dword [ebp - 0x434], eax
push edi
lea ecx, [ebp - 0x434]
call fcn.0043c3b0
push edi
lea ecx, [esi + 0x3c]
call fcn.00435880
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x4609d5
nop
cmp cx, 0x26
je 0x4609a3
movzx ecx, word [eax]
add eax, 2
test cx, cx
jne 0x460990
jmp 0x4609d5
movzx edx, word [eax]
lea ecx, [eax - 2]
add eax, 2
test dx, dx
je 0x4609c8
cmp dx, 0x26
je 0x4609bd
mov word [ecx], dx
add ecx, 2
movzx edx, word [eax]
add eax, 2
test dx, dx
jne 0x4609b1
xor eax, eax
mov word [ecx], ax
sub ecx, dword [esi + 0x3c]
sar ecx, 1
mov dword [esi + 0x40], ecx
push 0x1be
push dword [esi + 4]
call ebx
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x434]
lea eax, [esi + 0x54]
push eax
call fcn.0043c3b0
mov eax, dword [esi + 0x48]
lea edi, [esi + 0x48]
mov ecx, dword [0x47b2b4]
xor edx, edx
mov ebx, 0x100
mov dword [edi + 4], 0
mov dword [ebp - 0x434], ecx
mov word [eax], dx
cmp byte [0x47b1a1], dl
jne 0x460a5a
mov edx, ecx
lea ecx, [ebp - 0x440]
push 0x1bd
call fcn.0043b7a0
push 0
mov edx, eax
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00435ac0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x440]
call fcn.0041bebc
add esp, 4
jmp 0x460aa5
xor eax, eax
push 0x100
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x1bd
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, ebx
sub ecx, eax
cmp ecx, 1
jle 0x460a94
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.004357b0
jmp 0x460aa5
mov ecx, dword [ebp - 0x434]
mov edx, 0x1bd
push edi
call fcn.0043b6f0
mov eax, dword [esi + 0x60]
lea edi, [esi + 0x60]
mov ecx, dword [0x47b2b4]
xor edx, edx
mov dword [edi + 4], 0
mov dword [ebp - 0x434], ecx
mov word [eax], dx
cmp byte [0x47b1a1], dl
jne 0x460b06
mov edx, ecx
lea ecx, [ebp - 0x44c]
push 0x19b
call fcn.0043b7a0
push 0
mov edx, eax
mov dword [ebp - 4], 1
mov ecx, edi
call fcn.00435ac0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x44c]
call fcn.0041bebc
add esp, 4
jmp 0x460b51
xor eax, eax
push 0x100
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x410]
push eax
push 0x19b
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, ebx
sub ecx, eax
cmp ecx, 1
jle 0x460b40
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.004357b0
jmp 0x460b51
mov ecx, dword [ebp - 0x434]
mov edx, 0x19b
push edi
call fcn.0043b6f0
mov eax, dword [esi + 0x6c]
lea edi, [esi + 0x6c]
mov ecx, dword [0x47b2b4]
xor edx, edx
mov dword [edi + 4], 0
mov dword [ebp - 0x434], ecx
mov word [eax], dx
cmp byte [0x47b1a1], dl
jne 0x460bb2
mov edx, ecx
lea ecx, [ebp - 0x440]
push 0x1bf
call fcn.0043b7a0
push 0
mov edx, eax
mov dword [ebp - 4], 2
mov ecx, edi
call fcn.00435ac0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x440]
call fcn.0041bebc
add esp, 4
jmp 0x460bfb
xor eax, eax
push 0x100
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x1bf
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
sub ebx, eax
cmp ebx, 1
jle 0x460bea
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.004357b0
jmp 0x460bfb
mov ecx, dword [ebp - 0x434]
mov edx, 0x1bf
push edi
call fcn.0043b6f0
cmp byte [0x47b1a1], 0
mov eax, dword [esi + 0x84]
mov edi, dword [esi + 4]
push eax
je 0x460c17
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x460c68
lea ecx, [ebp - 0x440]
call fcn.00435960
push 0
lea edx, [ebp - 0x440]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44c]
call fcn.00435cb0
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0x44c]
call fcn.0041bebc
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x440]
call fcn.0041bebc
add esp, 4
lea edi, [esi + 0x200]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [esi + 0x169]
push edi
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x54
mov dword [ebp - 4], 0xffffffff
test bl, bl
mov eax, 0x60
cmove eax, ecx
mov ecx, esi
push dword [eax + esi]
push 0x1be
call fcn.00408170
mov ecx, esi
call fcn.0045e6e0
cmp byte [esi + 0x140], 0
mov ecx, 0x48
mov eax, 0x30
cmove eax, ecx
mov ecx, esi
push dword [eax + esi]
push 0x1bc
call fcn.00408170
mov ecx, esi
call fcn.0045e6e0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x430]
push eax
push 0
push 0x1061
push dword [esi + 0xb4]
mov dword [ebp - 0x430], 0xe
mov dword [ebp - 0x424], 0x46e6d4
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x428], 0x1e
call ebx
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0xe
push eax
push 1
push 0x1061
push dword [esi + 0xb4]
mov dword [ebp - 0x424], 0x46e6d4
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x428], 0x258
call ebx
push 0xffff
push 0
push 0x101e
push dword [esi + 0xb4]
call ebx
push 0xffff
push 1
push 0x101e
push dword [esi + 0xb4]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xf42
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 0x7e
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x65
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 2
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x420]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x460df3
mov eax, dword [ebp - 0x418]
sub eax, dword [ebp - 0x420]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x414]
sub eax, dword [ebp - 0x41c]
mov dword [esi + 0x7c], eax
push 1
mov ecx, esi
mov dword [esi + 0x144], 0x52
call fcn.00437080
cmp byte [esi + 0x21a], 0
jne 0x460e45
push 0x3f0
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x6e
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0xf41
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x7d
push dword [esi + 4]
call ebx
push 0
push eax
call edi
mov eax, dword [esi + 0x21c]
test eax, eax
js 0x460e72
movzx eax, ax
push eax
push dword [0x47b2b4]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push dword [esi + 4]
call edi
push 0
push 0xc8
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp byte [esi + 0x149], 0
mov dword [esi + 0x80], eax
je 0x460eac
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esi + 0x149], 0
mov ecx, esi
call fcn.00460fb0
mov al, 1
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.0041beab
mov esp, ebp
pop ebp
ret