Function at 0x48d4a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, 0x4c57b0
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00402612
mov ecx, dword [0x4c5810]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
cmp byte [edi + 0x3a], 0
je 0x48d4ef
cmp dword [edi + 0x19c], 0
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], ebx
je 0x48d4ef
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [edi + 0x48], eax
cmp dword [edi + 0x19c], 0
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
je 0x48d517
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
test eax, eax
jle 0x48d7d3
test ecx, ecx
jle 0x48d7d3
test esi, esi
jle 0x48d7d3
test ebx, ebx
jle 0x48d7d3
cmp dword [ebp + 0xc], 1
je 0x48d7d3
push 3
pop ebx
mov dword [ebp - 0x10], ebx
cmp dword [0x4c5834], ebx
jl 0x48d7be
mov eax, dword [0x4c5824]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax]
test ebx, ebx
je 0x48d7ab
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 4]
jne 0x48d7ab
cmp dword [ebx], 0
je 0x48d7ab
movsx eax, word [ebx + 0x88]
mov dword [ebp - 0xc], eax
imul eax, esi
cdq
idiv dword [ebp - 8]
mov esi, eax
movsx eax, word [ebx + 0x8a]
imul eax, dword [ebp + 0x14]
cdq
idiv ecx
mov ecx, eax
movsx eax, word [ebx + 0x8c]
imul eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 8]
mov dword [ebp + 8], eax
movsx eax, word [ebx + 0x8e]
imul eax, dword [ebp + 0x14]
cdq
idiv dword [ebp - 4]
movzx edx, word [ebx + 0x86]
mov dword [ebp + 0xc], eax
test dx, dx
je 0x48d737
test edx, 0x100
je 0x48d63d
movsx edx, word [ebx + 0x8c]
mov dword [ebp + 8], edx
movzx edx, word [ebx + 0x86]
test dl, 6
jne 0x48d63d
mov eax, dword [ebp + 0x10]
test dl, 8
je 0x48d60c
sub eax, dword [ebp - 8]
cdq
sub eax, edx
mov esi, eax
movsx eax, word [ebx + 0x88]
sar esi, 1
add esi, eax
jmp 0x48d633
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jle 0x48d633
movsx edx, word [ebx + 0x88]
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 0x10]
sub eax, edx
sub eax, dword [ebp + 8]
imul eax, esi
cdq
idiv dword [ebp - 8]
sub esi, eax
sub esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx edx, word [ebx + 0x86]
test edx, 0x200
je 0x48d678
movsx eax, word [ebx + 0x8e]
mov dword [ebp + 0xc], eax
test dl, 0x60
jne 0x48d678
mov eax, dword [ebp + 0x14]
test dl, dl
jns 0x48d6b2
sub eax, dword [ebp - 4]
cdq
sub eax, edx
mov ecx, eax
movsx eax, word [ebx + 0x8a]
sar ecx, 1
add ecx, eax
mov eax, dword [ebp + 0xc]
movzx edx, word [ebx + 0x86]
mov dword [ebp + 0xc], edx
and dword [ebp + 0xc], 2
je 0x48d688
movsx esi, word [ebx + 0x88]
test dl, 4
je 0x48d6f0
cmp word [ebp + 0xc], 0
je 0x48d6dd
movsx edx, word [ebx + 0x8c]
sub edx, esi
sub edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov dword [ebp + 8], edx
movzx edx, word [ebx + 0x86]
jmp 0x48d6f0
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jle 0x48d66e
movsx ecx, word [ebx + 0x8a]
mov eax, dword [ebp - 4]
sub eax, ecx
mov ecx, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
imul eax, ecx
cdq
idiv dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp + 0xc]
sub ecx, eax
jmp 0x48d671
movsx esi, word [ebx + 0x8c]
sub esi, dword [ebp + 8]
sub esi, dword [ebp - 8]
add esi, dword [ebp - 0xc]
add esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
and dword [ebp + 0xc], 0x20
je 0x48d700
movsx ecx, word [ebx + 0x8a]
test dl, 0x40
je 0x48d737
cmp word [ebp + 0xc], 0
movsx edx, word [ebx + 0x8a]
je 0x48d726
movsx eax, word [ebx + 0x8e]
sub eax, ecx
sub eax, dword [ebp - 4]
add eax, edx
add eax, dword [ebp + 0x14]
jmp 0x48d737
movsx ecx, word [ebx + 0x8e]
sub ecx, eax
sub ecx, dword [ebp - 4]
add ecx, edx
add ecx, dword [ebp + 0x14]
push 0
push eax
push dword [ebp + 8]
push ecx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [ebx + 0x90]
test al, al
jne 0x48d767
push 0xffff
push 0
push 0x142
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x48d7a5
cmp al, 0x16
jne 0x48d7a5
test byte [ebx + 0x92], 0x20
jne 0x48d7a5
push 0
push dword [ebx + 0x34]
push 0x469
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [ebx + 0x93]
cmp al, 0xff
je 0x48d7a5
movzx eax, al
cmp eax, dword [edi + 0x190]
je 0x48d7a5
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
inc ebx
mov dword [ebp - 0x10], ebx
cmp ebx, dword [0x4c5834]
jle 0x48d553
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [edi + 0x184], 1
jmp 0x48d7ed
movzx ecx, bx
shl ecx, 0x10
movzx eax, si
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10