Function at 0x4d4370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ac1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x78]
call fcn.004d36f0
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00463050
movzx eax, al
test eax, eax
je 0x4d4443
mov dword [ebp - 0x7c], 0x90000080
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462be0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0x14], ecx
jmp 0x4d444a
mov dword [ebp - 0x7c], 0x40000080
mov edx, dword [ebp - 0x78]
mov ecx, dword [edx + 0x10]
call fcn.004af680
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
and eax, 0
je 0x4d446e
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
jmp 0x4d4498
mov edx, dword [ebp - 0x84]
and edx, 1
je 0x4d4484
mov eax, dword [ebp - 0x7c]
or eax, 1
mov dword [ebp - 0x7c], eax
jmp 0x4d4498
mov ecx, dword [ebp - 0x84]
and ecx, 2
je 0x4d4498
mov edx, dword [ebp - 0x7c]
or edx, 2
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
call fcn.004d4810
movzx ecx, al
test ecx, ecx
je 0x4d44b3
mov edx, dword [ebp - 0x7c]
or edx, 0x20
mov dword [ebp - 0x7c], edx
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0x7c]
push eax
push 0
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x78]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00462be0
push eax
mov ecx, dword [ebp - 0x78]
call fcn.00471230
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx + 0x10]
call fcn.004af5c0
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
je 0x4d4541
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462330
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x4d4566
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462030
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
push 1
mov ecx, dword [ebp - 0x80]
push ecx
push 0x30
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx + 0x10]
call fcn.004b0820
push eax
push 0xc5
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx + 0x10]
call fcn.004d4810
movzx edx, al
test edx, edx
je 0x4d45d0
push 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
call fcn.004d3ea0
movsx ecx, al
push ecx
push 0xcc
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa4]
call fcn.00402b70
push eax
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0046f680
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0x78]
call fcn.004718a0
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x104]
call edx
movzx eax, al
cmp eax, 1
jne 0x4d4679
mov dword [ebp - 0x94], 1
jmp 0x4d4683
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx + 0x10]
call fcn.004d4830
movzx edx, al
cmp edx, 1
jne 0x4d46b6
mov dword [ebp - 0x98], 1
jmp 0x4d46c0
mov dword [ebp - 0x98], 0
push 0
mov eax, dword [ebp - 0x98]
push eax
push 0xcf
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp + 8]
call fcn.004d3fa0
or eax, dword [ebp - 0x88]
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x78]
call fcn.00402b80
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 4
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx + 0x10]
call fcn.004d47f0
movzx edx, al
test edx, edx
je 0x4d478d
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x4d4770
mov dword [ebp - 0x8c], 1
mov edx, dword [ebp - 0x8c]
push edx
push 0
push 0xb1
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4d47c0
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
push 0xb1
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x78]
mov byte [edx + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 4