Function at 0x4404f9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x4a8630
call fcn.00430c69
mov ecx, dword [0x4a8690]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp dword [edi + 0x1a0], 0
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x14], edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
je 0x440541
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
jle 0x440816
cmp dword [ebp + 0xc], 0
jle 0x440816
cmp dword [ebp + 0x10], 0
jle 0x440816
cmp dword [ebp + 0x14], 0
jle 0x440816
cmp ebx, 1
je 0x440816
mov eax, 3
mov dword [ebp - 0x18], eax
cmp dword [0x4a86b4], eax
jl 0x4407af
lea ecx, [ecx]
mov edx, dword [0x4a86a4]
mov eax, dword [edx + eax*4]
mov esi, dword [eax]
test esi, esi
je 0x44079c
mov ecx, dword [esi + 4]
cmp ecx, dword [edi + 4]
jne 0x44079c
cmp dword [esi], 0
je 0x44079c
movsx eax, word [esi + 0x80]
imul eax, dword [ebp + 0x10]
cdq
idiv dword [ebp + 8]
movsx ecx, word [esi + 0x84]
movsx edi, word [esi + 0x86]
mov dword [ebp - 4], eax
movsx eax, word [esi + 0x82]
imul eax, dword [ebp + 0x14]
cdq
idiv dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, ecx
imul eax, dword [ebp + 0x10]
cdq
idiv dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, edi
imul eax, dword [ebp + 0x14]
cdq
idiv dword [ebp + 0xc]
mov dword [ebp - 8], eax
movzx eax, word [esi + 0x7e]
test ax, ax
je 0x44075f
test eax, 0x100
je 0x440668
mov dword [ebp - 0xc], ecx
test al, 6
jne 0x440668
test al, 8
mov eax, dword [ebp + 0x10]
je 0x440637
sub eax, dword [ebp + 8]
cdq
sub eax, edx
mov ebx, eax
movsx eax, word [esi + 0x80]
sar ebx, 1
add ebx, eax
mov dword [ebp - 4], ebx
jmp 0x44066b
mov ebx, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x44066b
mov ebx, dword [ebp + 8]
movsx edx, word [esi + 0x80]
mov eax, ebx
sub eax, edx
sub eax, dword [ebp - 0xc]
imul eax, dword [ebp + 0x10]
cdq
idiv ebx
mov ebx, dword [ebp + 0x10]
sub ebx, eax
sub ebx, dword [ebp - 0xc]
mov dword [ebp - 4], ebx
jmp 0x44066b
mov ebx, dword [ebp - 4]
movzx eax, word [esi + 0x7e]
test eax, 0x200
je 0x4406cc
mov dword [ebp - 8], edi
test al, 0x60
jne 0x4406cc
test al, al
mov eax, dword [ebp + 0x14]
jns 0x440697
sub eax, dword [ebp + 0xc]
cdq
sub eax, edx
movsx edx, word [esi + 0x82]
sar eax, 1
add eax, edx
jmp 0x4406cf
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x10]
sar edx, 1
cmp eax, edx
jle 0x4406cf
mov ebx, dword [ebp + 0xc]
movsx edx, word [esi + 0x82]
mov eax, ebx
sub eax, edx
sub eax, dword [ebp - 8]
imul eax, dword [ebp + 0x14]
cdq
idiv ebx
mov ebx, dword [ebp - 4]
mov edx, eax
mov eax, dword [ebp + 0x14]
sub eax, edx
sub eax, dword [ebp - 8]
jmp 0x4406cf
mov eax, dword [ebp - 0x10]
movzx edx, word [esi + 0x7e]
mov dword [ebp - 0x10], edx
and edx, 2
mov dword [ebp - 4], edx
je 0x4406e5
movsx ebx, word [esi + 0x80]
test byte [ebp - 0x10], 4
je 0x44071a
cmp word [ebp - 4], 0
je 0x440708
movsx edx, word [esi + 0x80]
sub ecx, ebx
sub ecx, dword [ebp + 8]
add ecx, edx
add ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x44071a
sub ecx, dword [ebp - 0xc]
movsx ebx, word [esi + 0x80]
sub ecx, dword [ebp + 8]
add ebx, ecx
add ebx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ecx, edx
and ecx, 0x20
je 0x44072b
movsx eax, word [esi + 0x82]
test dl, 0x40
je 0x440765
test cx, cx
je 0x44074b
movsx ecx, word [esi + 0x82]
sub edi, eax
sub edi, dword [ebp + 0xc]
add edi, ecx
add edi, dword [ebp + 0x14]
mov dword [ebp - 8], edi
jmp 0x440765
sub edi, dword [ebp - 8]
movsx eax, word [esi + 0x82]
sub edi, dword [ebp + 0xc]
add eax, edi
add eax, dword [ebp + 0x14]
jmp 0x440765
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
push 0
push ecx
push edx
push eax
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [esi + 0x88]
test al, al
jne 0x4407d0
mov eax, dword [esi]
push 0xffff
push 0
push 0x142
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [0x4a86b4]
jle 0x440589
mov edx, dword [edi]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [edi + 0x188], 1
mov byte [edi + 0x3a], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp al, 0x16
jne 0x440799
test byte [esi + 0x8a], 0x20
jne 0x440799
mov ecx, dword [esi + 0x30]
mov edx, dword [esi]
push 0
push ecx
push 0x469
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esi + 0x8b]
cmp al, 0xff
je 0x440799
mov edi, dword [ebp - 0x14]
movzx eax, al
cmp eax, dword [edi + 0x194]
je 0x44079c
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44079c
movzx eax, word [ebp + 0x14]
movzx ecx, word [ebp + 0x10]
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 5
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10