Function at 0x44498d
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 0x4b9720
call fcn.004350fa
mov ecx, dword [0x4b9780]
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 0x4449d5
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
jle 0x444caa
cmp dword [ebp + 0xc], 0
jle 0x444caa
cmp dword [ebp + 0x10], 0
jle 0x444caa
cmp dword [ebp + 0x14], 0
jle 0x444caa
cmp ebx, 1
je 0x444caa
mov eax, 3
mov dword [ebp - 0x18], eax
cmp dword [0x4b97a4], eax
jl 0x444c43
lea ecx, [ecx]
mov edx, dword [0x4b9794]
mov eax, dword [edx + eax*4]
mov esi, dword [eax]
test esi, esi
je 0x444c30
mov ecx, dword [esi + 4]
cmp ecx, dword [edi + 4]
jne 0x444c30
cmp dword [esi], 0
je 0x444c30
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 0x444bf3
test eax, 0x100
je 0x444afc
mov dword [ebp - 0xc], ecx
test al, 6
jne 0x444afc
test al, 8
mov eax, dword [ebp + 0x10]
je 0x444acb
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 0x444aff
mov ebx, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x444aff
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 0x444aff
mov ebx, dword [ebp - 4]
movzx eax, word [esi + 0x7e]
test eax, 0x200
je 0x444b60
mov dword [ebp - 8], edi
test al, 0x60
jne 0x444b60
test al, al
mov eax, dword [ebp + 0x14]
jns 0x444b2b
sub eax, dword [ebp + 0xc]
cdq
sub eax, edx
movsx edx, word [esi + 0x82]
sar eax, 1
add eax, edx
jmp 0x444b63
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x10]
sar edx, 1
cmp eax, edx
jle 0x444b63
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 0x444b63
mov eax, dword [ebp - 0x10]
movzx edx, word [esi + 0x7e]
mov dword [ebp - 0x10], edx
and edx, 2
mov dword [ebp - 4], edx
je 0x444b79
movsx ebx, word [esi + 0x80]
test byte [ebp - 0x10], 4
je 0x444bae
cmp word [ebp - 4], 0
je 0x444b9c
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 0x444bae
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 0x444bbf
movsx eax, word [esi + 0x82]
test dl, 0x40
je 0x444bf9
test cx, cx
je 0x444bdf
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 0x444bf9
sub edi, dword [ebp - 8]
movsx eax, word [esi + 0x82]
sub edi, dword [ebp + 0xc]
add eax, edi
add eax, dword [ebp + 0x14]
jmp 0x444bf9
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 0x444c64
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 [0x4b97a4]
jle 0x444a1d
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 0x444c2d
test byte [esi + 0x8a], 0x20
jne 0x444c2d
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 0x444c2d
mov edi, dword [ebp - 0x14]
movzx eax, al
cmp eax, dword [edi + 0x194]
je 0x444c30
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x444c30
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