Function at 0x417320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ebx
jne case.0x4177fd.8505
mov esi, dword [ebp + 0xc]
cmp esi, 0x115
jne 0x4173f2
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41737f
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [edi + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push 1
push dword [edi + 4]
mov dword [ebp - 0x1c], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [ebp + 0x10]
movzx ecx, ax
cmp ecx, 4
je 0x4173ac
cmp ecx, 5
jne 0x4173c3
shr eax, 0x10
push 1
push eax
push 1
push dword [edi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x20a
jne 0x4174c4
push 0
push 0
push 0x1105
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x417430
pop edi
xor eax, eax
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movsx ecx, ax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x417414
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push 2
push dword [edi + 0x24]
mov dword [ebp - 0x1c], 4
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov ecx, dword [edi + 4]
xor eax, eax
push ecx
test esi, esi
setle al
push eax
push 0x115
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
test esi, esi
push 1
setle al
lea eax, [eax*2 - 1]
add dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, 1
mov dword [ebx], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x83
jne 0x417533
cmp dword [ebp + 0x10], 0
je 0x4174f5
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xffcfffff
cmp eax, ecx
je 0x4174f5
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x417746
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [edi + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x114
jne 0x417561
cmp word [ebp + 0x10], 5
mov dword [ebx], 0
je 0x4174ac
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 5
jne 0x417676
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x2c], eax
movsx eax, cx
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x417595
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [edi + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 2
call ebx
push 2
mov esi, eax
call ebx
mov ecx, dword [ebp - 0x2c]
push 1
push dword [ebp - 0x28]
sub ecx, eax
push esi
push 0
push ecx
push dword [edi + 0x24]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
call edi
push 3
call ebx
push 3
mov esi, eax
call ebx
mov ecx, dword [ebp - 0x28]
push 1
push esi
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub ecx, eax
push ecx
push 0
push dword [esi + 0x28]
call edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push 1
push dword [esi + 4]
mov dword [ebp - 0x1c], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41764a
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x41764a
push 5
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp - 0x24]
mov eax, 1
pop edi
pop esi
mov dword [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
push 0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp - 0x24]
mov eax, 1
pop edi
pop esi
mov dword [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x1114
jne 0x4176de
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41769a
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [edi + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push 1
push dword [edi + 4]
mov dword [ebp - 0x1c], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41773b
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x41773b
push 5
jmp 0x41773d
mov edx, dword [ebp + 0x10]
cmp esi, 0x204e
jne 0x4177af
mov eax, dword [ecx + 8]
cmp eax, 0xfffffe39
jne 0x417764
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push 1
push dword [edi + 4]
mov dword [ebp - 0x1c], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41773b
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x41773b
push 5
jmp 0x41773d
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xfffffff4
jne 0x417790
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push ecx
push edx
lea ecx, [edi + 0x24]
call fcn.00413840
cmp dword [ebp - 0x24], 0
mov dword [ebx], eax
jne 0x4174ac
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x10]
lea eax, [esi - 0x202b]
cmp eax, 0xea
ja case.0x4177fd.8505
movzx eax, byte [eax + 0x41780c]
jmp dword [eax*4 + 0x417804]
cmp esi, 0x2132
ja 0x4177e5
jne 0x417790
push ecx
push edx
lea eax, [esi - 0x2000]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx], eax
xor ecx, ebp
pop esi
mov eax, 1
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x18
lea eax, [esi - 0x2133]
cmp eax, 0xdd
ja case.0x4177fd.8505
movzx eax, byte [eax + 0x417900]
jmp dword [eax*4 + 0x4178f8]