Function at 0x4445c9
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 0x4b86a0
call fcn.00434ea7
mov ecx, dword [0x4b8700]
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 0x444611
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
jle 0x4448e6
cmp dword [ebp + 0xc], 0
jle 0x4448e6
cmp dword [ebp + 0x10], 0
jle 0x4448e6
cmp dword [ebp + 0x14], 0
jle 0x4448e6
cmp ebx, 1
je 0x4448e6
mov eax, 3
mov dword [ebp - 0x18], eax
cmp dword [0x4b8724], eax
jl 0x44487f
lea ecx, [ecx]
mov edx, dword [0x4b8714]
mov eax, dword [edx + eax*4]
mov esi, dword [eax]
test esi, esi
je 0x44486c
mov ecx, dword [esi + 4]
cmp ecx, dword [edi + 4]
jne 0x44486c
cmp dword [esi], 0
je 0x44486c
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 0x44482f
test eax, 0x100
je 0x444738
mov dword [ebp - 0xc], ecx
test al, 6
jne 0x444738
test al, 8
mov eax, dword [ebp + 0x10]
je 0x444707
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 0x44473b
mov ebx, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x44473b
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 0x44473b
mov ebx, dword [ebp - 4]
movzx eax, word [esi + 0x7e]
test eax, 0x200
je 0x44479c
mov dword [ebp - 8], edi
test al, 0x60
jne 0x44479c
test al, al
mov eax, dword [ebp + 0x14]
jns 0x444767
sub eax, dword [ebp + 0xc]
cdq
sub eax, edx
movsx edx, word [esi + 0x82]
sar eax, 1
add eax, edx
jmp 0x44479f
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x10]
sar edx, 1
cmp eax, edx
jle 0x44479f
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 0x44479f
mov eax, dword [ebp - 0x10]
movzx edx, word [esi + 0x7e]
mov dword [ebp - 0x10], edx
and edx, 2
mov dword [ebp - 4], edx
je 0x4447b5
movsx ebx, word [esi + 0x80]
test byte [ebp - 0x10], 4
je 0x4447ea
cmp word [ebp - 4], 0
je 0x4447d8
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 0x4447ea
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 0x4447fb
movsx eax, word [esi + 0x82]
test dl, 0x40
je 0x444835
test cx, cx
je 0x44481b
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 0x444835
sub edi, dword [ebp - 8]
movsx eax, word [esi + 0x82]
sub edi, dword [ebp + 0xc]
add eax, edi
add eax, dword [ebp + 0x14]
jmp 0x444835
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 0x4448a0
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 [0x4b8724]
jle 0x444659
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 0x444869
test byte [esi + 0x8a], 0x20
jne 0x444869
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 0x444869
mov edi, dword [ebp - 0x14]
movzx eax, al
cmp eax, dword [edi + 0x194]
je 0x44486c
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44486c
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