Function at 0x493e00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
cmp dword [ebp + 0x3a8], 0x12c
push esi
push edi
mov esi, 0x196
mov dword [esp + 0x44], 0x198
jne 0x493e31
mov esi, 0x132
mov dword [esp + 0x44], 0x12f
xor ebx, ebx
lea eax, [ebp + 0x24]
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x493e4f
lea edi, [eax - 0x24]
jmp 0x493e51
xor edi, edi
call fcn.004507b0
cmp eax, ebx
je 0x493e96
mov ecx, dword [eax + 0x14]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x34], edx
call esi
test eax, eax
je 0x493e96
mov eax, dword [ebp + 4]
lea edx, [esp + 0x28]
push edx
push eax
call esi
mov ecx, dword [ebp + 0x3c8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x493f95
mov eax, dword [ebp + 4]
mov dword [ebp + 0x43c], eax
push ecx
mov eax, esp
lea esi, [ebp + 0x3c4]
mov dword [esi + 0x70], 6
mov dword [esi + 0x74], 1
mov dword [eax], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov edx, dword [ebp + 4]
push edx
call fcn.004976a0
mov eax, dword [ebp + 0x400]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x14
push 0xc5
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 0x3d3d3d
push 1
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x3c]
push 0
push ecx
mov dword [esi + 0x5c], eax
call edi
mov edx, dword [esi + 0x3c]
push 1
push 0
push edx
call edi
push 0x200
call fcn.004562a0
add esp, 4
push 1
mov edi, eax
mov eax, dword [esi + 0x3c]
push edi
push 0x30
push eax
call ebx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x493f43
cmp eax, edi
je 0x493f43
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp + 0x3f0]
push 0x59af40
mov ebx, 0x12
mov dword [esi + 0x6c], edi
call fcn.00410570
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x3c8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp + 0x3c8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
jmp 0x493fca
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x3c8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp + 0x3c8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp + 0x24]
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x493fe6
lea edi, [eax - 0x24]
jmp 0x493fe8
xor edi, edi
mov esi, dword [esp + 0x44]
call fcn.004507b0
cmp eax, ebx
je 0x494031
mov edx, dword [eax + 0x14]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 4]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x44], eax
call esi
test eax, eax
je 0x494031
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x38]
push eax
push ecx
call esi
mov edx, dword [ebp + 0x448]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x494133
mov eax, dword [ebp + 4]
mov dword [ebp + 0x4bc], eax
push ecx
lea esi, [ebp + 0x444]
mov dword [esi + 0x70], 6
mov dword [esi + 0x74], 4
mov eax, esp
mov dword [ebp + 0x4c0], 0x1004
mov dword [eax], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [ebp + 4]
push eax
call fcn.004976a0
mov ecx, dword [ebp + 0x480]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x50
push 0xc5
push ecx
call ebx
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 0x3d3d3d
push 1
mov dword [esi + 0x34], eax
mov edx, dword [esi + 0x3c]
push 0
push edx
mov dword [esi + 0x5c], eax
call edi
mov eax, dword [esi + 0x3c]
push 1
push 0
push eax
call edi
push 0x200
call fcn.004562a0
mov ecx, dword [esi + 0x3c]
add esp, 4
push 1
mov edi, eax
push edi
push 0x30
push ecx
call ebx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4940e8
cmp eax, edi
je 0x4940e8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp + 0x470]
push 0x58c320
xor ebx, ebx
mov dword [esi + 0x6c], edi
call fcn.00410570
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push ebx
sub edx, eax
push edx
mov edx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x448]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp + 0x448]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x494168
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x448]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp + 0x448]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp + 0x24]
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x494184
lea edi, [eax - 0x24]
jmp 0x494186
xor edi, edi
mov esi, 0x399
call fcn.004507b0
cmp eax, ebx
je 0x4941e6
mov edx, dword [eax + 0x14]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 4]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x24], eax
call esi
test eax, eax
je 0x4941d0
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x18]
push eax
push ecx
call esi
call fcn.004571c0
test eax, eax
jne 0x4941e6
mov eax, 5
add dword [esp + 0x14], eax
add dword [esp + 0x1c], eax
mov edx, dword [ebp + 0x4c8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4942df
mov eax, dword [ebp + 4]
mov dword [ebp + 0x53c], eax
push ecx
mov eax, esp
mov dword [ebp + 0x540], 1
mov dword [eax], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [ebp + 4]
lea esi, [ebp + 0x4c4]
push eax
call fcn.004976a0
mov ecx, dword [ebp + 0x500]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xc5
push ecx
call ebx
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 0x3d3d3d
push 1
mov dword [esi + 0x34], eax
mov edx, dword [esi + 0x3c]
push 0
push edx
mov dword [esi + 0x5c], eax
call edi
mov eax, dword [esi + 0x3c]
push 1
push 0
push eax
call edi
push 0
call fcn.004562a0
mov ecx, dword [esi + 0x3c]
add esp, 4
push 1
mov edi, eax
push edi
push 0x30
push ecx
call ebx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x49428c
cmp eax, edi
je 0x49428c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor edx, edx
cmp edx, 0x59a870
mov dword [esi + 0x6c], edi
je 0x4942b4
mov eax, dword [esi + 0x3c]
push 0x59a870
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x4c8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
jmp 0x494307
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x4c8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
mov ecx, dword [ebp + 0x4c8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4