Function at 0x2478a80
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x4ac
push ebx
push ebp
mov ebp, dword [esp + 0x4bc]
cmp ebp, 0x111
push esi
push edi
mov esi, ecx
ja 0x2479545
je 0x2479c4a
lea eax, [ebp - 1]
cmp eax, 0x82
ja case.0x2478abb.8
xor ecx, ecx
mov cl, byte [eax + 0x2479c7c]
jmp dword [ecx*4 + 0x2479c5c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4ac
ret 0x10
mov ecx, dword [esi + 0xdc]
xor eax, eax
cmp ecx, eax
je 0x2478af2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4ac
ret 0x10
mov edx, dword [esi + 0xb0]
mov edi, dword [esi + 0xa8]
mov ecx, dword [esi + 0xb4]
sub edx, edi
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0xac]
push eax
sub ecx, edx
mov edx, dword [esp + 0x4c4]
push 0xfffffffffffffff0
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.user32.dll_GetWindowLongA]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.user32.dll_AdjustWindowRect]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4cc]
sub ecx, edx
mov edx, dword [esp + 0x24]
pop edi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
pop esi
sub edx, ecx
pop ebp
mov dword [eax + 8], edx
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
mov ecx, dword [esi + 0xdc]
xor eax, eax
cmp ecx, eax
jne 0x2478d3f
cmp dword [esi + 0xe0], eax
je 0x2478d3f
mov ecx, dword [esp + 0x4cc]
cmp ecx, eax
mov edi, dword [esp + 0x4c0]
je 0x2478d12
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x24], edx
sub ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0xb4]
push eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xac]
push 0xfffffffffffffff0
sub edx, ecx
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
call dword [sym.imp.user32.dll_GetWindowLongA]
and eax, 0xffcfffff
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.user32.dll_AdjustWindowRect]
push 2
call dword [sym.imp.user32.dll_GetSystemMetrics]
push 3
mov dword [esp + 0x18], eax
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
sub ecx, ebp
sub edx, dword [esp + 0x30]
cmp ecx, edx
mov dword [esp + 0x10], eax
jne 0x2478c47
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
sub ebx, eax
mov eax, dword [esp + 0x3c]
sub eax, ebp
cmp ebx, eax
jne 0x2478c3f
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x2478caa
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x30]
add ebp, dword [esp + 0x38]
cmp ecx, ebp
jne 0x2478c82
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
sub ebx, eax
mov eax, dword [esp + 0x3c]
sub eax, ebp
cmp ebx, eax
jge 0x2478c7a
mov ebp, 1
mov dword [esp + 0x14], 0
jmp 0x2478caa
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
cmp ecx, edx
jge 0x2478d12
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
sub eax, ecx
add eax, ebp
sub ebx, edx
cmp ebx, eax
jne 0x2478d12
xor ebp, ebp
mov dword [esp + 0x14], 1
push 0xfffffffffffffff0
push edi
call dword [sym.imp.user32.dll_GetWindowLongA]
test ebp, ebp
mov ebx, eax
jne 0x2478cbe
and eax, 0xffdfffff
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x2478ccb
and eax, 0xffefffff
cmp ebx, eax
je 0x2478d12
mov ebp, dword [sym.imp.user32.dll_SetWindowLongA]
push eax
push 0xfffffffffffffff0
push edi
call ebp
mov ecx, dword [esp + 0x4cc]
mov edx, dword [esp + 0x4c8]
mov eax, dword [esp + 0x4c4]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.024787e0
push ebx
push 0xfffffffffffffff0
push edi
mov esi, eax
call ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x4ac
ret 0x10
mov ecx, dword [esp + 0x4cc]
mov edx, dword [esp + 0x4c8]
mov eax, dword [esp + 0x4c4]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.024787e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ac
ret 0x10
mov edi, dword [esp + 0x4c0]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.user32.dll_GetWindowLongA]
mov ebx, eax
mov ecx, ebx
and ecx, 0xffcfffff
cmp ebx, ecx
je 0x2478da3
mov edx, ebx
and edx, 0xffcfffff
push edx
push 0xfffffffffffffff0
push edi
call dword [sym.imp.user32.dll_SetWindowLongA]
mov eax, dword [esp + 0x4cc]
mov ecx, dword [esp + 0x4c8]
push eax
push ecx
push ebp
push edi
mov ecx, esi
call fcn.024787e0
push ebx
push 0xfffffffffffffff0
push edi
mov esi, eax
call dword [sym.imp.user32.dll_SetWindowLongA]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x4ac
ret 0x10
mov edx, dword [esp + 0x4cc]
mov eax, dword [esp + 0x4c8]
push edx
push eax
push ebp
push edi
mov ecx, esi
call fcn.024787e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ac
ret 0x10
mov eax, dword [esi + 0xe8]
xor ebx, ebx
cmp eax, ebx
jne 0x2479c4a
cmp dword [esi + 0xdc], ebx
mov dword [esi + 0xe8], 1
jne 0x2479154
cmp dword [esi + 0xe0], ebx
je 0x2479154
mov edi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 2
call edi
push 3
mov dword [esp + 0x30], eax
call edi
mov ebp, dword [esp + 0x4c0]
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [esi + 0xa8]
mov edx, dword [esi + 0xb0]
mov edi, dword [esi + 0xac]
sub edx, eax
mov eax, dword [esi + 0xb4]
push ebx
push 0xfffffffffffffff0
sub eax, edi
push ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
and eax, 0xffcfffff
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.user32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
sub edi, eax
mov eax, dword [esp + 0x38]
sub edx, ecx
mov ecx, edx
sub eax, ebx
cmp ecx, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x14], edi
jl 0x2478eaf
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
sub ebx, edi
mov edi, dword [esp + 0x14]
cmp edi, ebx
jl 0x2478eaf
mov ecx, eax
mov edi, ebx
jmp 0x2478eef
mov ebx, dword [esp + 0x2c]
add ebx, eax
cmp ecx, ebx
mov dword [esp + 0x10], ebx
jle 0x2478ed5
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
sub ebx, edi
mov edi, dword [esp + 0x14]
cmp edi, ebx
jge 0x2478ed5
mov ecx, dword [esp + 0x10]
jmp 0x2478eef
cmp ecx, eax
jge 0x2478eef
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
sub eax, ebx
mov ebx, dword [esp + 0x18]
add eax, ebx
cmp edi, eax
jle 0x2478eef
mov edi, eax
cmp ecx, edx
jne 0x2478ef9
cmp edi, dword [esp + 0x40]
je 0x2478f16
push 0x12
push edi
push ecx
push 0
push 0
push 0xfffffffffffffffe
push ebp
call dword [sym.imp.user32.dll_SetWindowPos]
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.user32.dll_GetWindowRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x38]
sub ecx, ebx
cmp eax, ecx
mov edi, 1
mov dword [esp + 0x10], edi
jne 0x2478f55
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub edx, ebx
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x34]
cmp edx, ebx
jne 0x2478f55
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x2478fb0
mov edx, dword [esp + 0x2c]
add edx, ecx
cmp eax, edx
jne 0x2478f84
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub edx, ebx
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x34]
cmp edx, ebx
jge 0x2478f84
mov edi, 1
mov dword [esp + 0x10], 0
jmp 0x2478fb0
cmp eax, ecx
jge 0x2478fb0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, ebx
cmp ecx, eax
jne 0x2478fb0
xor edi, edi
mov dword [esp + 0x10], 1
mov ebx, dword [sym.imp.user32.dll_ShowScrollBar]
xor eax, eax
test edi, edi
setne al
push eax
push 1
push ebp
call ebx
mov edx, dword [esp + 0x10]
xor ecx, ecx
test edx, edx
setne cl
push ecx
push 0
push ebp
call ebx
test edi, edi
je 0x2479076
lea edx, [esp + 0x48]
push edx
push ebp
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [esi + 0xac]
mov ebx, dword [esi + 0xb4]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
sub ebx, eax
mov eax, ebx
sub eax, edx
add eax, ecx
jns 0x2479008
xor eax, eax
cmp dword [esi + 0xd8], eax
jle 0x2479016
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xd8]
test eax, eax
jge 0x247902a
mov dword [esi + 0xd8], 0
xor eax, eax
mov ecx, 7
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
push 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x5c]
push ecx
sub edx, eax
mov eax, dword [esi + 0xd8]
push 1
inc edx
push ebp
mov dword [esp + 0x68], 0x1c
mov dword [esp + 0x6c], 7
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call dword [sym.imp.user32.dll_SetScrollInfo]
jmp 0x2479080
mov dword [esi + 0xd8], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x2479126
lea edx, [esp + 0x48]
push edx
push ebp
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [esi + 0xa8]
mov ebx, dword [esi + 0xb0]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
sub ebx, eax
mov eax, ebx
sub eax, edx
add eax, ecx
jns 0x24790b8
xor eax, eax
cmp dword [esi + 0xd4], eax
jle 0x24790c6
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0xd4]
test eax, eax
jge 0x24790da
mov dword [esi + 0xd4], 0
xor eax, eax
mov ecx, 7
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
push 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x5c]
push ecx
sub edx, eax
mov eax, dword [esi + 0xd4]
push 0
inc edx
push ebp
mov dword [esp + 0x68], 0x1c
mov dword [esp + 0x6c], 7
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call dword [sym.imp.user32.dll_SetScrollInfo]
jmp 0x2479130
mov dword [esi + 0xd4], 0
push 0
push 0
push ebp
call dword [sym.imp.user32.dll_InvalidateRect]
pop edi
mov dword [esi + 0xe8], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
mov edi, dword [esp + 0x4c0]
push ebx
push 3
push edi
call dword [sym.imp.user32.dll_ShowScrollBar]
push ebx
push ebx
push edi
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
call dword [sym.imp.user32.dll_InvalidateRect]
pop edi
mov dword [esi + 0xe8], ebx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
mov edx, dword [esp + 0x4c0]
xor ebx, ebx
push edx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xc8], ebx
call dword [sym.imp.user32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [esi + 0xc4], eax
jne 0x24791d4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x4ac
ret 0x10
cmp dword [esi + 0xcc], ebx
je 0x24791f7
mov edx, dword [esi + 0xbc]
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0xb4]
push eax
call fcn.02479de0
jmp 0x2479235
mov ebp, 0x100
mov word [esp + 0xb4], 0x300
mov word [esp + 0xb6], bp
mov eax, 0x24cc16c
lea ecx, [esp + 0xb8]
mov dl, byte [eax]
mov byte [ecx + 3], bl
mov byte [ecx], dl
mov dl, byte [eax + 1]
inc eax
inc eax
mov byte [ecx + 1], dl
mov dl, byte [eax]
mov byte [ecx + 2], dl
inc eax
add ecx, 4
dec ebp
jne 0x247921a
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.gdi32.dll_CreatePalette]
mov ebp, dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 0x26
push edi
mov dword [esi + 0xd0], eax
call ebp
test ah, 1
je 0x247926f
push 0x68
push edi
call ebp
cmp eax, 0x100
jne 0x247926f
mov dword [esi + 0xc8], 1
cmp dword [esi + 0xc8], ebx
je 0x24792ac
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xc4]
push ebx
push ecx
push edx
call dword [sym.imp.gdi32.dll_SelectPalette]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0xd0]
push eax
call dword [sym.imp.gdi32.dll_UnrealizeObject]
mov ecx, dword [esi + 0xc4]
push ecx
call dword [sym.imp.gdi32.dll_RealizePalette]
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x40]
mov eax, 0x64
push edx
mov edx, dword [esi + 0xbc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
call fcn.02479d70
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push edi
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov edx, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc0]
push eax
push edx
mov edx, dword [esi + 0xbc]
mov dword [esi + 0xb8], eax
call fcn.02479eb0
mov esi, dword [esp + 0x4c0]
push edi
push esi
call dword [sym.imp.user32.dll_ReleaseDC]
push ebx
push ebx
push 5
push esi
call dword [sym.imp.user32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
mov eax, dword [esi + 0xc8]
xor edi, edi
cmp eax, edi
je 0x2479355
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xc4]
push edi
push eax
push ecx
call dword [sym.imp.gdi32.dll_SelectPalette]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xe4], edi
mov eax, dword [esi + 0xd0]
cmp eax, edi
mov ebx, dword [sym.imp.gdi32.dll_DeleteObject]
je 0x247936e
push eax
call ebx
mov dword [esi + 0xd0], edi
mov eax, dword [esi + 0xb8]
cmp eax, edi
je 0x2479381
push eax
call ebx
mov dword [esi + 0xb8], edi
mov eax, dword [esi + 0xc4]
cmp eax, edi
je 0x2479398
push eax
call dword [sym.imp.gdi32.dll_DeleteDC]
mov dword [esi + 0xc4], edi
mov edx, dword [esp + 0x4c0]
push edx
call dword [sym.imp.user32.dll_DestroyWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
mov ecx, dword [esp + 0x4c0]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.user32.dll_BeginPaint]
test eax, eax
jne 0x24793dc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x4ac
ret 0x10
mov ebx, dword [esp + 0x74]
mov ebp, dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 0x26
xor edi, edi
push ebx
mov dword [esp + 0x20], edi
call ebp
test ah, 1
je 0x2479429
push 0x68
push ebx
call ebp
mov edi, eax
sub edi, 0x100
neg edi
sbb edi, edi
inc edi
je 0x2479429
mov edx, dword [esi + 0xd0]
push 0
push edx
push ebx
call dword [sym.imp.gdi32.dll_SelectPalette]
test eax, eax
mov dword [esp + 0x18], eax
je 0x2479429
push ebx
call dword [sym.imp.gdi32.dll_RealizePalette]
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x247950d
mov ebp, dword [sym.imp.gdi32.dll_SelectObject]
push eax
mov eax, dword [esi + 0xc4]
push eax
call ebp
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x24794c0
mov edx, dword [esp + 0x4c0]
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.user32.dll_GetClientRect]
push 3
push ebx
call dword [sym.imp.gdi32.dll_SetStretchBltMode]
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb0]
push 0xcc0020
sub eax, edx
mov edx, dword [esi + 0xa8]
push eax
mov eax, dword [esp + 0x5c]
sub ecx, edx
mov edx, dword [esi + 0xc4]
push ecx
mov ecx, dword [esp + 0x5c]
push 0
push 0
push edx
sub eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
sub ecx, edx
push ecx
push 0
push 0
push ebx
call dword [sym.imp.gdi32.dll_StretchBlt]
jmp 0x24794ff
mov edx, dword [esi + 0xd8]
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xc4]
push 0xcc0020
push edx
mov edx, dword [esi + 0xb4]
push eax
mov eax, dword [esi + 0xb0]
push ecx
sub edx, dword [esi + 0xac]
push edx
sub eax, dword [esi + 0xa8]
push eax
push 0
push 0
push ebx
call dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0xc4]
push ecx
push edx
call ebp
test edi, edi
je 0x2479523
mov eax, dword [esp + 0x18]
test eax, eax
je 0x2479523
push 0
push eax
push ebx
call dword [sym.imp.gdi32.dll_SelectPalette]
mov ecx, dword [esp + 0x4c0]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.user32.dll_EndPaint]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
cmp ebp, 0x30f
ja 0x2479a5c
je 0x2479a4b
mov eax, ebp
sub eax, 0x114
je 0x24798a9
dec eax
je 0x2479707
sub eax, 0xff
jne case.0x2478abb.8
mov eax, dword [esi + 0xdc]
xor edi, edi
cmp eax, edi
jne 0x2479c4a
cmp dword [esi + 0xe0], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
je 0x24795ac
mov ebx, dword [sym.imp.user32.dll_GetSystemMetrics]
push 2
call ebx
push 3
mov dword [esp + 0x1c], eax
call ebx
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0xb0]
mov ebx, dword [esi + 0xa8]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x4c0]
sub edx, ebx
push edi
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0xac]
push 0xfffffffffffffff0
sub eax, edx
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
push eax
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.user32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x4cc]
mov edi, dword [eax + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 0xc]
mov esi, dword [eax + 4]
mov ebp, dword [esp + 0x1c]
mov ecx, edi
sub ecx, edx
mov edx, ebx
sub edx, esi
mov esi, dword [esp + 0x24]
sub esi, ebp
cmp ecx, esi
mov dword [esp + 0x14], ebx
jl 0x247963b
mov ebx, dword [esp + 0x28]
sub ebx, dword [esp + 0x20]
cmp edx, ebx
jl 0x2479637
mov edx, ebx
mov ebx, dword [esp + 0x14]
mov ecx, esi
jmp 0x247967b
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
add ebp, esi
cmp ecx, ebp
mov dword [esp + 0x40], ebp
jl 0x2479663
mov ebx, dword [esp + 0x28]
sub ebx, dword [esp + 0x20]
cmp edx, ebx
jge 0x247965f
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
jmp 0x247967b
mov ebx, dword [esp + 0x14]
cmp ecx, esi
mov ebp, dword [esp + 0x28]
jge 0x247967b
sub ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
add esi, ebp
cmp edx, esi
jl 0x247967b
mov edx, esi
mov esi, dword [esp + 0x4c8]
dec esi
cmp esi, 7
ja case.default.0x2479688
jmp dword [esi*4 + 0x2479d00]
mov esi, dword [eax]
add esi, ecx
mov ecx, dword [eax + 4]
pop edi
mov dword [eax + 8], esi
pop esi
add ecx, edx
pop ebp
mov dword [eax + 0xc], ecx
mov eax, 1
pop ebx
add esp, 0x4ac
ret 0x10
sub edi, ecx
mov dword [eax], edi
pop edi
pop esi
sub ebx, edx
mov dword [eax + 4], ebx
pop ebp
mov eax, 1
pop ebx
add esp, 0x4ac
ret 0x10
mov esi, dword [eax]
add esi, ecx
pop edi
mov dword [eax + 8], esi
pop esi
sub ebx, edx
mov dword [eax + 4], ebx
pop ebp
mov eax, 1
pop ebx
add esp, 0x4ac
ret 0x10
sub edi, ecx
mov ecx, dword [eax + 4]
add ecx, edx
mov dword [eax], edi
mov dword [eax + 0xc], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4ac
ret 0x10
mov eax, dword [esi + 0xdc]
test eax, eax
jne 0x2479c4a
mov eax, dword [esp + 0x4c8]
mov ebp, dword [esi + 0xd8]
mov edx, dword [esp + 0x4c0]
mov ebx, eax
shr eax, 0x10
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], eax
push ecx
mov eax, ebp
push edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 1
and ebx, 0xffff
mov dword [esp + 0x34], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov edi, dword [esi + 0xb4]
mov edx, dword [esi + 0xac]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
sub edi, edx
sub edi, ecx
add edi, eax
jns 0x2479778
xor edi, edi
cmp ebx, 8
ja case.default.0x2479781
jmp dword [ebx*4 + 0x2479d20]
cmp ebp, edi
jge 0x2479792
inc ebp
jmp 0x2479841
jne case.0x2479781.7
mov dword [esp + 0x10], 0
jmp 0x2479841
test ebp, ebp
jle 0x24797ab
dec ebp
jmp 0x2479841
jne case.0x2479781.6
mov dword [esp + 0x10], 0
jmp 0x2479841
mov edi, dword [esp + 0x4c0]
mov dword [esp + 0x10], 0
jmp 0x247986a
mov ecx, dword [esp + 0x4c0]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
cmp ebp, edi
jl 0x24797ed
mov dword [esp + 0x10], 0
add ebp, dword [esp + 0x28]
cmp ebp, edi
jle 0x2479841
mov ebp, edi
jmp 0x2479841
mov eax, dword [esp + 0x4c0]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
test ebp, ebp
jg 0x2479818
mov dword [esp + 0x10], 0
sub ebp, dword [esp + 0x28]
jns 0x2479841
xor ebp, ebp
jmp 0x2479841
mov eax, 1
jmp 0x247982d
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
cmp ebp, edi
jl 0x2479837
mov ebp, edi
test ebp, ebp
jge 0x247983d
xor ebp, ebp
test eax, eax
je case.default.0x2479781
mov edi, dword [esp + 0x4c0]
push 1
push ebp
push 1
push edi
call dword [sym.imp.user32.dll_SetScrollPos]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x247986a
mov edi, dword [esp + 0x4c0]
push edi
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esi + 0xd8], ebp
je 0x2479c4a
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x48]
push ecx
push 0
sub eax, ebp
push eax
push 0
push edi
call dword [sym.imp.user32.dll_ScrollWindow]
push edi
call dword [sym.imp.user32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
mov eax, dword [esi + 0xdc]
test eax, eax
jne 0x2479c4a
mov eax, dword [esp + 0x4c8]
mov ebp, dword [esi + 0xd4]
mov ecx, dword [esp + 0x4c0]
mov ebx, eax
shr eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x48]
push eax
mov edx, ebp
push ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 1
and ebx, 0xffff
mov dword [esp + 0x34], edx
call dword [sym.imp.user32.dll_GetClientRect]
mov edi, dword [esi + 0xb0]
mov edx, dword [esi + 0xa8]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
sub edi, edx
sub edi, ecx
add edi, eax
jns 0x247991a
xor edi, edi
cmp ebx, 8
ja case.default.0x2479923
jmp dword [ebx*4 + 0x2479d44]
cmp ebp, edi
jge 0x2479934
inc ebp
jmp 0x24799e3
jne case.0x2479923.7
mov dword [esp + 0x10], 0
jmp 0x24799e3
test ebp, ebp
jle 0x247994d
dec ebp
jmp 0x24799e3
jne case.0x2479923.6
mov dword [esp + 0x10], 0
jmp 0x24799e3
mov edi, dword [esp + 0x4c0]
mov dword [esp + 0x10], 0
jmp 0x2479a0c
mov eax, dword [esp + 0x4c0]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
cmp ebp, edi
jl 0x247998f
mov dword [esp + 0x10], 0
add ebp, dword [esp + 0x24]
cmp ebp, edi
jle 0x24799e3
mov ebp, edi
jmp 0x24799e3
mov edx, dword [esp + 0x4c0]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.user32.dll_GetClientRect]
test ebp, ebp
jg 0x24799ba
mov dword [esp + 0x10], 0
sub ebp, dword [esp + 0x24]
jns 0x24799e3
xor ebp, ebp
jmp 0x24799e3
mov eax, 1
jmp 0x24799cf
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
cmp ebp, edi
jl 0x24799d9
mov ebp, edi
test ebp, ebp
jge 0x24799df
xor ebp, ebp
test eax, eax
je case.default.0x2479923
mov edi, dword [esp + 0x4c0]
push 1
push ebp
push 0
push edi
call dword [sym.imp.user32.dll_SetScrollPos]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x2479a0c
mov edi, dword [esp + 0x4c0]
push edi
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esi + 0xd4], ebp
je 0x2479c4a
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x30]
push 0
push 0
sub eax, ebp
push eax
push edi
call dword [sym.imp.user32.dll_ScrollWindow]
push edi
call dword [sym.imp.user32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
mov ecx, dword [esp + 0x4c0]
push 0
push 0
push ecx
jmp 0x2479c44
mov eax, ebp
sub eax, 0x310
je 0x2479c4a
dec eax
je 0x2479c2f
sub eax, 0x5c5
je 0x2479aa4
mov edx, dword [esp + 0x4cc]
mov eax, dword [esp + 0x4c8]
mov ecx, dword [esp + 0x4c0]
push edx
push eax
push ebp
push ecx
mov ecx, esi
call fcn.024787e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ac
ret 0x10
mov eax, dword [esi + 0xdc]
test eax, eax
jne 0x2479c4a
mov ebx, dword [esi + 0xd8]
mov edi, dword [esi + 0xd4]
mov ebp, dword [esp + 0x4c0]
lea edx, [esp + 0x48]
mov eax, 1
push edx
push ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0xb0]
mov edx, dword [esp + 0x50]
sub eax, ecx
mov ecx, dword [esp + 0x48]
sub eax, edx
add eax, ecx
jns 0x2479b08
xor edx, edx
xor eax, eax
jmp 0x2479b0a
xor edx, edx
mov ecx, dword [esp + 0x4c8]
cmp ecx, edx
jle 0x2479b66
cmp edi, eax
jge 0x2479b1d
add edi, ecx
jmp 0x2479b21
mov dword [esp + 0x10], edx
cmp edi, eax
jle 0x2479b27
mov edi, eax
push 1
push edi
push 0
push ebp
call dword [sym.imp.user32.dll_SetScrollPos]
xor edx, edx
mov ecx, dword [esi + 0xac]
mov eax, dword [esi + 0xb4]
sub eax, ecx
sub eax, dword [esp + 0x54]
add eax, dword [esp + 0x4c]
jns 0x2479b4f
xor eax, eax
mov ecx, dword [esp + 0x4cc]
cmp ecx, edx
jle 0x2479c09
cmp ebx, eax
jge 0x2479b82
add ebx, ecx
jmp 0x2479b86
jge 0x2479b7c
cmp edi, edx
jle 0x2479b70
add edi, ecx
jmp 0x2479b74
mov dword [esp + 0x10], edx
cmp edi, edx
jge 0x2479b27
xor edi, edi
jmp 0x2479b27
mov dword [esp + 0x10], edx
jmp 0x2479b35
mov dword [esp + 0x14], edx
cmp ebx, eax
jle 0x2479b8c
mov ebx, eax
push 1
push ebx
push 1
push ebp
call dword [sym.imp.user32.dll_SetScrollPos]
mov eax, dword [esp + 0x10]
test eax, eax
mov ebp, dword [sym.imp.user32.dll_UpdateWindow]
jne 0x2479bae
mov eax, dword [esp + 0x14]
test eax, eax
je 0x2479bb8
mov eax, dword [esp + 0x4c0]
push eax
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], ebx
jne 0x2479bd4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x2479c4a
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x4c0]
lea ecx, [esp + 0x48]
push ecx
push 0
sub eax, ebx
push eax
mov eax, dword [esp + 0x24]
sub eax, edi
push eax
push esi
call dword [sym.imp.user32.dll_ScrollWindow]
push esi
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10
jge 0x2479c26
cmp ebx, edx
jle 0x2479c13
add ebx, ecx
jmp 0x2479c17
mov dword [esp + 0x14], edx
cmp ebx, edx
jge 0x2479b8c
xor ebx, ebx
jmp 0x2479b8c
mov dword [esp + 0x14], edx
jmp 0x2479b98
mov eax, dword [esp + 0x4c0]
cmp dword [esp + 0x4c8], eax
je 0x2479c4a
push 0
push 0
push eax
call dword [sym.imp.user32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4ac
ret 0x10