Function at 0x4d0e90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x154
cmp eax, 0x110
push ebx
push ebp
push esi
push edi
mov esi, ecx
ja 0x4d1318
je 0x4d0fc4
cmp eax, 0x4e
je 0x4d0f27
cmp eax, 0x53
je 0x4d0ef1
cmp eax, 0x7b
jne 0x4d13f3
mov esi, dword [esi + 0x18]
test esi, esi
je 0x4d0f15
mov eax, dword [esp + 0x170]
push 0x55abb8
push 0xc
push eax
call esi
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x154
ret 0x10
mov eax, dword [esp + 0x174]
cmp dword [eax + 4], 1
jne 0x4d0f15
mov esi, dword [esi + 0x18]
test esi, esi
je 0x4d0f15
mov ecx, dword [eax + 0xc]
push 0x55abb8
push 0xc
push ecx
call esi
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x154
ret 0x10
mov edx, dword [esp + 0x174]
cmp dword [edx + 8], 0xfffffdd9
jne 0x4d13f3
mov eax, dword [esp + 0x168]
push 0x28b
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov edx, dword [esi + 4]
mov ecx, edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 5
push ecx
push edx
call ebx
mov eax, edi
mov ecx, dword [esi + 8]
dec eax
neg eax
sbb eax, eax
and al, 0xfb
add eax, 5
push eax
push ecx
call ebx
xor edx, edx
mov eax, dword [esi + 0xc]
cmp edi, 2
setne dl
dec edx
and edx, 5
push edx
push eax
call ebx
xor ecx, ecx
mov edx, dword [esi + 0x10]
cmp edi, 3
setne cl
dec ecx
and ecx, 5
push ecx
push edx
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x154
ret 0x10
mov ebp, dword [esp + 0x174]
mov edi, dword [esp + 0x168]
mov dword [esi + 0x14], ebp
push edi
mov eax, dword [ebp + 0x54]
mov ecx, esi
mov dword [esi + 0x18], eax
mov dword [ebp + 0x248], edi
call fcn.004d1440
test eax, eax
jne 0x4d1005
push 2
push edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x154
ret 0x10
push 0x28b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x64]
mov ebx, eax
mov dword [esp + 0x28], 9
mov eax, dword [edx + 0x30]
push 0x100
push ecx
push 0x438
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x64]
push edx
push 0
push 0x1307
push ebx
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x64]
push 0x100
push eax
mov edx, dword [ecx + 0x30]
push 0x439
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x28]
lea eax, [esp + 0x64]
push ecx
push 1
push 0x1307
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x64]
push 0x100
push edx
mov ecx, dword [eax + 0x30]
push 0x43a
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x28]
lea edx, [esp + 0x64]
push eax
push 2
push 0x1307
push ebx
mov dword [esp + 0x44], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x64]
push 0x100
push ecx
mov eax, dword [edx + 0x30]
push 0x43b
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x64]
push edx
push 3
push 0x1307
push ebx
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 0x4dc320
push edi
push 0xa6e
push 0xfffffffffffffffa
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push ebp
mov dword [esi + 4], eax
push 0x4da370
push edi
push 0xa6c
push 0xfffffffffffffffa
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push ebp
push 0x4d9660
push edi
push 0xa6a
push 0xfffffffffffffffa
push edi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push ebp
push 0x4d8d30
push edi
push 0x7e4
push 0xfffffffffffffffa
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push ebp
push 0x4d7bf0
push edi
push 0x7e1
push 0xfffffffffffffffa
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, esi
mov dword [esi], eax
call fcn.004d1610
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x18]
push eax
push ecx
call ebp
mov eax, dword [esi]
lea edx, [esp + 0x44]
push edx
push eax
call ebp
lea ecx, [esp + 0x54]
push ecx
push ebx
call ebp
lea edx, [esp + 0x54]
push edx
push 0
push 0x1328
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
push ebx
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x20]
push 4
push ecx
sub edx, ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push 0
push edx
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x20]
push 4
sub ecx, edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push 0
push ecx
call ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub edx, eax
mov eax, dword [esp + 0x20]
push 4
push edx
mov edx, dword [esp + 0x20]
sub eax, edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push 0
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
sub ecx, ebp
push 4
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push 0
push edx
call ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
push 4
sub ecx, edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
push edx
mov edx, dword [esi]
push ecx
push 0
push edx
call ebx
push 5
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov ecx, dword [esi]
push 5
push ecx
call ebx
push 1
push 0x290
push edi
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x28b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x154
ret 0x10
mov edi, dword [esp + 0x168]
cmp eax, 0x111
je 0x4d1349
cmp eax, 0x406
jne 0x4d13f3
mov edx, dword [esp + 0x174]
push edx
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x170]
mov ecx, eax
shr ecx, 0x10
jne 0x4d13f3
cmp ax, 1
jne 0x4d139e
push 0x290
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov edx, dword [esi + 0x14]
mov dword [edx + 0x48], eax
mov ecx, dword [esi + 0x14]
call fcn.004d6d30
mov ecx, dword [esi + 0x14]
call fcn.004d6e60
push 1
push edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x154
ret 0x10
cmp ax, 2
jne 0x4d13d9
mov eax, dword [esi + 0x14]
mov dword [eax + 0x48], 0
mov ecx, dword [esi + 0x14]
call fcn.004d6d30
mov ecx, dword [esi + 0x14]
call fcn.004d6e60
push 2
push edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x154
ret 0x10
cmp ax, 9
jne 0x4d13f3
mov esi, dword [esi + 0x18]
test esi, esi
je 0x4d13f3
push 0x834
push 1
push edi
call esi
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x154
ret 0x10