Function at 0x460142
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x48a230]
sub esp, 0xbc
push edi
xor edi, edi
cmp ecx, edi
je 0x4617b6
mov eax, dword [0x48a288]
mov dword [0x48a314], eax
mov eax, dword [0x48a2d4]
mov dword [0x48a32c], eax
mov eax, dword [0x4870dc]
mov edx, eax
and edx, 0x22010
cmp edx, 0x22000
jne 0x46019e
mov edx, dword [0x4870e0]
and edx, 0x401
mov dword [esp + 0x24], 1
cmp edx, 0x400
je 0x4601a2
mov dword [esp + 0x24], edi
push ebx
push ebp
push esi
test al, 1
je 0x460226
cmp dword [0x48a294], edi
jne 0x460220
cmp dword [0x48a2e0], edi
jne 0x460220
mov ebx, dword [0x48a300]
add ebx, ebx
xor esi, esi
cmp ecx, edi
mov dword [0x48a318], ebx
jle 0x46020c
mov edx, dword [0x48a240]
add edx, 0x10
mov eax, dword [edx]
mov ebp, dword [0x48a23c]
imul eax, eax, 0x18
mov eax, dword [eax + ebp + 4]
cmp eax, edi
jne 0x4601f3
inc esi
add edx, 0x3c
cmp esi, ecx
jl 0x4601d6
jmp 0x46020c
mov ebx, dword [eax + 0x3b64]
add ebx, dword [eax + 0x3b38]
imul ebx, dword [eax + 0x2284]
mov dword [0x48a318], ebx
mov eax, dword [0x4895d0]
cmp eax, edi
je 0x460226
cmp ebx, eax
jge 0x460226
mov dword [0x48a318], eax
jmp 0x460226
mov dword [0x48a318], edi
cmp dword [esp + 0xd0], 0xfffffffd
jne 0x4602c9
mov eax, dword [0x48a36c]
cmp eax, edi
jge 0x4602b9
xor edi, edi
test byte [0x4870dc], 0x10
jne 0x46027f
mov esi, dword [0x48a354]
mov eax, dword [0x48a35c]
sub eax, esi
mov dword [0x48a36c], eax
test ecx, ecx
jle 0x4602b9
xor edx, edx
mov eax, dword [0x48a240]
add eax, edx
mov ecx, dword [eax + 8]
sub ecx, esi
mov dword [eax + 0x14], ecx
mov ecx, dword [0x48a230]
inc edi
add edx, 0x3c
cmp edi, ecx
jl 0x460260
jmp 0x4602b4
mov esi, dword [0x48a358]
mov eax, dword [0x48a360]
sub eax, esi
mov dword [0x48a36c], eax
test ecx, ecx
jle 0x4602b9
xor edx, edx
mov eax, dword [0x48a240]
add eax, edx
mov ecx, dword [eax + 0xc]
sub ecx, esi
mov dword [eax + 0x14], ecx
mov ecx, dword [0x48a230]
inc edi
add edx, 0x3c
cmp edi, ecx
jl 0x460297
mov eax, dword [0x48a36c]
test eax, eax
jne 0x4602da
mov dword [0x48a36c], 1
jmp 0x4602da
cmp dword [esp + 0xd0], 0xfffffffc
je 0x4602da
or dword [0x48a36c], 0xffffffff
test byte [0x4870dc], 0x10
je 0x460304
xor eax, eax
inc eax
cmp ecx, eax
jle 0x460304
push 0x3c
pop ecx
mov edx, dword [0x48a240]
and dword [ecx + edx + 0x30], 0
inc eax
add ecx, 0x3c
cmp eax, dword [0x48a230]
jl 0x4602ed
xor ebp, ebp
cmp dword [0x48a234], ebp
je 0x4603b2
mov eax, dword [0x48a240]
add eax, 0x18
xor ebx, ebx
push eax
inc ebx
call fcn.0045ff75
mov eax, dword [0x48a240]
mov ecx, dword [eax + 0x30]
mov dword [0x48a324], ecx
cmp dword [eax + 0x28], ebp
jle 0x46033a
mov dword [esp + 0x30], ebx
cmp dword [0x48a234], ebx
jle 0x4603a2
push 0x3c
pop edi
lea esi, [edi + eax + 0x18]
cmp dword [esi + 0x10], 0
jne 0x460363
test dword [0x4870dc], 0x20000
jne 0x460363
mov eax, dword [eax + 0x30]
mov dword [esi + 0x18], eax
jmp 0x460391
push esi
call fcn.0045ff75
cmp dword [esi + 0x10], 0
jle 0x460377
mov dword [esp + 0x30], 1
test byte [0x4870dc], 0x10
jne 0x460391
mov esi, dword [esi + 0x18]
cmp dword [0x48a324], esi
jg 0x460391
mov dword [0x48a324], esi
mov eax, dword [0x48a240]
inc ebx
add edi, 0x3c
cmp ebx, dword [0x48a234]
jl 0x460345
xor ebp, ebp
cmp dword [esp + 0x30], ebp
je 0x4603b2
mov eax, dword [eax + 0x30]
mov dword [0x48a324], eax
mov ecx, dword [0x48a31c]
mov eax, dword [0x48a310]
mov ebx, dword [0x4870dc]
mov esi, dword [0x48a330]
add eax, ecx
add eax, dword [0x48a318]
mov ecx, dword [0x48a258]
add eax, dword [0x48a314]
mov dword [0x48a344], esi
mov dword [0x48a320], eax
mov dword [0x48a34c], ecx
test bl, 0x10
jne 0x46041b
test byte [0x4870e0], 0x20
je 0x460411
mov edx, eax
mov eax, dword [0x48a25c]
sub eax, dword [0x48a328]
sub eax, dword [0x48a324]
jmp 0x460428
mov edx, dword [0x48a324]
add edx, eax
jmp 0x46041d
mov edx, eax
mov eax, dword [0x48a25c]
sub eax, dword [0x48a328]
sub eax, dword [0x48a32c]
mov dword [0x48a348], edx
add edx, 0xa
cmp edx, eax
mov dword [0x48a350], eax
jle 0x460446
mov dword [0x48a350], edx
test ebx, 0x20000000
je 0x46049e
sub ecx, esi
push 3
mov dword [0x48a354], ebp
mov dword [0x48a35c], ecx
mov dword [0x48a358], ebp
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [0x48a350]
sub ecx, dword [0x48a348]
sub ecx, eax
mov eax, dword [0x48a364]
sub dword [0x48a354], eax
sub dword [0x48a35c], eax
mov eax, dword [0x48a368]
sub dword [0x48a358], eax
sub ecx, eax
mov dword [0x48a360], ecx
jmp 0x4604ac
mov esi, 0x48a344
mov edi, 0x48a354
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x48a230]
add eax, 7
push eax
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebx, eax
mov eax, dword [0x4870dc]
mov dword [esp + 0x2c], ebx
test al, 0x10
jne 0x460cbd
cmp dword [esp + 0xd0], ebp
jge 0x460b40
mov esi, dword [0x48a230]
test eax, 0x40000000
je 0x4607ff
cmp esi, 2
jle 0x4607ff
mov ecx, dword [0x48a360]
sub ecx, dword [0x48a358]
lea eax, [esi + 1]
cdq
sub eax, edx
sar eax, 1
cmp eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebp
jle 0x4607ac
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
xor ecx, ecx
mov esi, ebp
lea edx, [esi + 2]
cmp edx, dword [0x48a230]
mov dword [esp + 0x14], edx
jle 0x460541
dec edx
mov dword [esp + 0x14], edx
cmp dword [esp + 0xd0], 0xfffffffd
jne 0x4605b8
mov edi, dword [0x48a354]
mov eax, dword [0x48a35c]
sub eax, edi
cmp esi, edx
mov dword [esp + 0x3c], eax
mov eax, dword [0x48a36c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
jge 0x4605b8
sub edx, esi
mov ebp, ecx
mov dword [esp + 0x20], edx
mov eax, dword [0x48a240]
mov dword [eax + ebp], edi
mov eax, dword [0x48a240]
lea esi, [eax + ebp]
mov eax, dword [esi + 0x14]
imul eax, dword [esp + 0x3c]
cdq
idiv dword [esp + 0x1c]
add eax, dword [esp + 0x24]
cmp eax, edi
cmovl eax, edi
mov dword [esi + 8], eax
mov edx, dword [0x488524]
add ebp, 0x3c
dec dword [esp + 0x20]
lea edi, [edx + eax]
jne 0x460575
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
cmp eax, dword [0x48a230]
jne 0x46060d
mov eax, dword [0x48a240]
mov edx, dword [0x48a354]
mov dword [ecx + eax], edx
mov eax, dword [esp + 0x34]
cdq
idiv dword [esp + 0x18]
mov edx, dword [0x48a240]
add eax, dword [0x48a358]
mov dword [ecx + edx + 4], eax
mov eax, dword [0x48a240]
mov edx, dword [0x48a35c]
mov dword [ecx + eax + 8], edx
mov eax, dword [0x48a360]
mov edx, dword [0x48a240]
mov dword [ecx + edx + 0xc], eax
jmp 0x460743
cmp esi, edx
mov eax, dword [0x48a35c]
mov edi, dword [0x48a354]
mov ebp, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ebp
jge 0x4606cd
mov dword [esp + 0x20], ecx
mov eax, dword [0x48a240]
mov edx, dword [esp + 0x20]
lea esi, [edx + eax]
mov eax, dword [esi + 8]
sub eax, dword [esi]
lea edx, [eax + edi]
cmp edx, dword [esp + 0x1c]
jle 0x460662
test dword [0x4870dc], 0x20000000
jne 0x460662
mov eax, dword [esp + 0x1c]
sub eax, edi
cmp eax, 0xa
jge 0x460662
push 0xa
pop eax
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
mov dword [esi], edi
add edi, eax
mov dword [esp + 0x10], edi
mov dword [esi + 8], edi
add edi, dword [0x488524]
dec edx
cmp ebp, edx
jge 0x4606b5
cmp edi, dword [esp + 0x1c]
jl 0x4606b5
cmp eax, 0x64
jle 0x4606b5
test dword [0x4870dc], 0x20000000
jne 0x4606b5
mov edx, dword [0x488524]
mov edi, dword [esi]
add edx, edx
sub edi, edx
add eax, edi
mov dword [esi + 8], eax
mov edx, dword [0x488524]
mov dword [esp + 0x10], eax
lea edi, [edx + eax]
add dword [esp + 0x20], 0x3c
inc ebp
cmp ebp, dword [esp + 0x14]
mov dword [esp + 0x3c], ebp
jl 0x46062e
mov eax, dword [esp + 0x1c]
mov edx, dword [0x48a240]
imul ebp, ebp, 0x3c
lea ebp, [edx + ebp - 0x34]
cmp dword [ebp], eax
jge 0x4606e6
mov dword [esp + 0x10], eax
mov dword [ebp], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
mov dword [0x48a35c], eax
mov eax, esi
cdq
idiv dword [esp + 0x18]
mov edx, dword [0x48a240]
add eax, dword [0x48a358]
mov dword [ecx + edx + 0x40], eax
mov eax, dword [0x48a240]
add eax, ecx
mov edx, dword [eax + 0x40]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x28]
add eax, esi
cdq
idiv dword [esp + 0x18]
mov edx, dword [0x48a240]
mov esi, dword [esp + 0x38]
add eax, dword [0x48a358]
mov dword [ecx + edx + 0x48], eax
mov eax, dword [0x48a240]
add eax, ecx
mov edx, dword [eax + 0x48]
mov dword [eax + 0xc], edx
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x460786
test dword [0x4870dc], 0x2000
je 0x460786
mov eax, dword [0x48a240]
add eax, ecx
mov ebp, dword [eax + 0xc]
sub ebp, dword [eax + 4]
mov edx, dword [eax + 0x30]
cmp ebp, edx
jle 0x460786
add dword [eax + 4], edx
lea eax, [esi + 1]
cmp eax, dword [0x48a230]
je 0x460786
mov eax, dword [0x48a240]
add eax, ecx
mov edx, dword [eax + 0x6c]
add dword [eax + 0x40], edx
mov eax, dword [esp + 0x28]
add dword [esp + 0x34], eax
inc edi
inc esi
inc esi
add ecx, 0x78
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], esi
jl 0x46052d
mov esi, dword [0x48a230]
xor edi, edi
test esi, esi
jle 0x460b2c
xor esi, esi
mov eax, dword [0x48a240]
add eax, esi
mov ecx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
mov edx, dword [eax]
push 0x14
sub ebp, ecx
push ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0x10]
imul eax, eax, 0x18
sub ebp, edx
push ebp
push ecx
mov ecx, dword [0x48a23c]
push edx
push 0
push dword [eax + ecx]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
inc edi
add esi, 0x3c
cmp edi, dword [0x48a230]
mov ebx, eax
jl 0x4607b8
jmp 0x460b2c
cmp dword [esp + 0xd0], 0xfffffffd
jne 0x460870
mov ecx, dword [0x48a354]
mov edi, dword [0x48a35c]
mov eax, dword [0x48a36c]
sub edi, ecx
cmp esi, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ebp
jle 0x460870
xor ebp, ebp
mov eax, dword [0x48a240]
mov dword [eax + ebp], ecx
mov eax, dword [0x48a240]
lea esi, [eax + ebp]
mov eax, dword [esi + 0x14]
imul eax, edi
cdq
idiv dword [esp + 0x24]
add eax, dword [esp + 0x28]
cmp eax, ecx
cmovl eax, ecx
mov dword [esi + 8], eax
mov ecx, dword [0x488524]
add ecx, eax
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add ebp, 0x3c
cmp eax, dword [0x48a230]
jl 0x46082e
cmp dword [esp + 0x30], 0
jne 0x460958
mov esi, dword [0x48a354]
mov ebp, dword [0x48a35c]
xor eax, eax
cmp dword [0x48a230], eax
mov dword [esp + 0x10], eax
jle 0x460934
mov dword [esp + 0x20], eax
mov eax, dword [0x48a240]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
lea edx, [eax + esi]
cmp edx, ebp
jle 0x4608cc
test dword [0x4870dc], 0x20000000
jne 0x4608cc
mov eax, ebp
sub eax, esi
cmp eax, 0xa
jge 0x4608cc
push 0xa
pop eax
mov dword [ecx], esi
add esi, eax
mov dword [ecx + 8], esi
mov edx, dword [0x48a230]
mov edi, esi
add esi, dword [0x488524]
dec edx
cmp dword [esp + 0x10], edx
jge 0x460918
cmp esi, ebp
jl 0x460918
cmp eax, 0x64
jle 0x460918
test dword [0x4870dc], 0x20000000
jne 0x460918
mov edx, dword [0x488524]
mov esi, dword [ecx]
add edx, edx
sub esi, edx
add eax, esi
mov edi, eax
mov dword [ecx + 8], eax
mov eax, dword [0x488524]
lea esi, [edi + eax]
mov eax, dword [esp + 0x10]
add dword [esp + 0x20], 0x3c
inc eax
cmp eax, dword [0x48a230]
mov dword [esp + 0x10], eax
jl 0x46089d
jmp 0x460938
mov edi, dword [esp + 0x24]
mov ecx, dword [0x48a240]
imul eax, eax, 0x3c
lea eax, [eax + ecx - 0x34]
cmp dword [eax], ebp
jge 0x46094d
mov edi, ebp
mov dword [eax], ebp
mov dword [0x48a35c], edi
jmp 0x460b2c
mov eax, dword [0x48a354]
mov ebp, dword [0x48a350]
sub ebp, dword [0x48a348]
mov dword [esp + 0x10], eax
mov eax, dword [0x48a35c]
add ebp, dword [0x48a324]
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [0x48a230], eax
mov dword [esp + 0x14], eax
jle 0x460b23
mov dword [esp + 0x20], eax
mov eax, dword [0x48a240]
mov ecx, dword [esp + 0x20]
lea esi, [ecx + eax]
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx]
cmp edx, dword [esp + 0x18]
jle 0x4609ca
test dword [0x4870dc], 0x20000000
jne 0x4609ca
mov eax, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0xa
jge 0x4609ca
push 0xa
pop eax
mov dword [esi], ecx
add ecx, eax
mov dword [esi + 8], ecx
mov edx, dword [0x488524]
mov edi, dword [0x48a230]
mov dword [esp + 0x2c], ecx
add ecx, edx
dec edi
cmp dword [esp + 0x14], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
jge 0x460a1d
cmp ecx, edi
jl 0x460a1d
cmp eax, 0x64
jle 0x460a1d
test dword [0x4870dc], 0x20000000
jne 0x460a1d
lea ecx, [edx + edx]
mov eax, edi
sub eax, ecx
mov dword [esi + 8], eax
mov ecx, dword [0x488524]
add eax, ecx
mov dword [esp + 0x10], eax
test dword [0x4870dc], 0x80000
jne 0x460a42
cmp dword [0x48a234], 1
jle 0x460a38
cmp dword [esi + 0x2c], 0
jne 0x460a42
mov eax, dword [0x48a240]
mov ecx, dword [eax + 0x30]
jmp 0x460a45
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x20]
cmp eax, ecx
mov dword [esp + 0x34], ecx
jge 0x460a62
mov ecx, eax
cmp ecx, 0xa
mov dword [esp + 0x34], ecx
jge 0x460a62
push 0xa
pop ecx
mov dword [esp + 0x34], ecx
mov eax, dword [0x48a320]
mov edx, ebp
sub edx, ecx
test byte [0x4870e0], 0x20
je 0x460a7d
lea ecx, [eax + edx]
mov dword [esp + 0x28], ecx
jmp 0x460a86
mov dword [esp + 0x28], eax
add eax, ecx
lea ecx, [eax + edx]
mov dword [esi + 0xc], ecx
mov dword [esi + 4], eax
mov ecx, dword [0x48a230]
dec ecx
cmp dword [esp + 0x14], ecx
jne 0x460aa5
cmp dword [esi + 8], edi
jge 0x460aa5
mov dword [esp + 0x2c], edi
mov dword [esi + 8], edi
mov ecx, dword [esi]
mov edi, dword [esi + 8]
push 0x14
push edx
sub edi, ecx
push edi
push eax
mov eax, dword [esi + 0x10]
imul eax, eax, 0x18
push ecx
mov ecx, dword [0x48a23c]
push 0
push dword [eax + ecx]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
mov eax, dword [0x48a230]
dec eax
cmp dword [esp + 0x14], eax
jge 0x460ade
add edi, dword [0x488524]
cmp dword [0x48a234], 1
jle 0x460b0a
test dword [0x4870dc], 0x2000
je 0x460b0a
push dword [esp + 0x34]
push edi
push dword [esp + 0x30]
push dword [esi]
add esi, 0x18
push esi
push ebx
call fcn.0046006f
mov ebx, eax
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], 0x3c
cmp eax, dword [0x48a230]
jl 0x460992
mov eax, dword [esp + 0x2c]
mov dword [0x48a35c], eax
mov eax, dword [0x48a350]
mov edi, dword [0x48a34c]
mov dword [esp + 0x14], eax
jmp 0x460c27
test eax, 0x40000000
mov eax, dword [0x48a230]
mov dword [esp + 0x30], ebp
je 0x460b66
cmp eax, 2
jle 0x460b66
mov esi, dword [0x48a350]
mov edi, dword [0x48a34c]
jmp 0x460bfb
mov ecx, dword [0x48a354]
xor ebp, ebp
test eax, eax
jle 0x460b9d
xor esi, esi
mov eax, dword [0x48a240]
add eax, esi
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [eax], ecx
add ecx, edx
mov dword [eax + 8], ecx
mov edi, ecx
add ecx, dword [0x488524]
inc ebp
add esi, 0x3c
cmp ebp, dword [0x48a230]
jl 0x460b74
jmp 0x460ba1
mov edi, dword [esp + 0x24]
sub edi, dword [0x48a354]
cmp dword [esp + 0xd0], 0x320
jl 0x460bc7
mov esi, dword [0x48a350]
mov dword [esp + 0xd0], 0xfffffffe
jmp 0x460bfb
mov eax, dword [0x48a230]
cmp dword [esp + 0xd0], eax
jl 0x460bdd
and dword [esp + 0xd0], 0
mov eax, dword [esp + 0xd0]
mov ecx, dword [0x48a240]
imul eax, eax, 0x3c
add eax, ecx
mov esi, dword [eax + 0xc]
sub esi, dword [eax + 4]
add esi, dword [0x48a348]
test dword [0x4870dc], 0x20000000
mov dword [esp + 0x14], esi
je 0x460c21
mov edi, dword [0x48a34c]
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [esp + 0x14], esi
jmp 0x460c32
add edi, dword [0x48a344]
cmp dword [esp + 0x30], 0
jne 0x4610aa
test dword [0x4870dc], 0x40000000
je 0x460c4b
cmp dword [0x48a230], 2
jg 0x4610aa
xor esi, esi
cmp dword [0x48a230], esi
mov dword [esp + 0x10], esi
jle 0x4610aa
mov eax, dword [0x48a240]
mov ecx, dword [0x48a358]
add eax, esi
mov edx, dword [eax]
mov dword [eax + 4], ecx
mov ecx, dword [0x48a360]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
push 0x14
sub ebp, ecx
push ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0x10]
imul eax, eax, 0x18
sub ebp, edx
push ebp
push ecx
mov ecx, dword [0x48a23c]
push edx
push 0
push dword [eax + ecx]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
inc dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x10]
add esi, 0x3c
cmp eax, dword [0x48a230]
jl 0x460c5d
jmp 0x4610aa
mov ebp, dword [esp + 0xd0]
xor esi, esi
cmp ebp, esi
jge 0x460f38
cmp ebp, 0xfffffffd
jne 0x460d3f
mov ecx, dword [0x48a358]
mov edi, dword [0x48a360]
mov eax, dword [0x48a36c]
sub edi, ecx
cmp dword [0x48a230], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
jle 0x460d3f
xor ebp, ebp
mov eax, dword [0x48a240]
mov dword [eax + ebp + 4], ecx
mov eax, dword [0x48a240]
lea esi, [eax + ebp]
mov eax, dword [esi + 0x14]
imul eax, edi
cdq
idiv dword [esp + 0x24]
add eax, dword [esp + 0x28]
cmp eax, ecx
cmovl eax, ecx
mov dword [esi + 0xc], eax
mov ecx, dword [0x488524]
add ecx, eax
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add ebp, 0x3c
cmp eax, dword [0x48a230]
jl 0x460cfc
mov esi, dword [0x48a358]
xor ebp, ebp
test byte [0x4870e0], 0x20
je 0x460e40
cmp dword [0x48a230], ebp
mov eax, dword [0x48a360]
mov dword [esp + 0x18], eax
jle 0x460e13
mov dword [esp + 0x10], ebp
mov eax, dword [0x48a240]
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
mov edx, dword [ecx + 0x30]
lea edi, [eax + esi]
add edi, edx
cmp edi, dword [esp + 0x18]
jle 0x460da8
test dword [0x4870dc], 0x20000000
jne 0x460da8
mov eax, dword [esp + 0x18]
sub eax, esi
sub eax, edx
cmp eax, 0x18
jge 0x460da8
push 0x18
pop eax
mov dword [ecx + 4], esi
add esi, eax
mov dword [ecx + 0xc], esi
mov ebx, dword [0x48a230]
lea edi, [esi + edx]
mov esi, dword [0x488524]
add esi, edi
dec ebx
cmp ebp, ebx
jge 0x460dfb
cmp esi, dword [esp + 0x18]
jl 0x460dfb
cmp eax, 0x64
jle 0x460dfb
test dword [0x4870dc], 0x20000000
jne 0x460dfb
mov esi, dword [0x488524]
add esi, edx
mov edx, dword [ecx + 4]
add esi, esi
sub edx, esi
add eax, edx
mov edi, eax
mov dword [ecx + 0xc], eax
mov eax, dword [0x488524]
lea esi, [edi + eax]
add dword [esp + 0x10], 0x3c
inc ebp
cmp ebp, dword [0x48a230]
jl 0x460d6d
mov ebx, dword [esp + 0x2c]
jmp 0x460e17
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp edi, eax
jge 0x460e35
mov ecx, dword [0x48a240]
imul ebp, ebp, 0x3c
lea ebp, [ecx + ebp - 0x30]
mov ecx, eax
sub ecx, edi
add dword [ebp], ecx
mov edi, eax
mov dword [0x48a360], edi
jmp 0x460f2d
cmp dword [0x48a230], ebp
mov edx, dword [0x48a360]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebp
jle 0x460f0c
mov dword [esp + 0x10], ebp
mov eax, dword [0x48a240]
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
mov edi, dword [ecx + 0x30]
lea ebp, [eax + esi]
add ebp, edi
cmp ebp, edx
jle 0x460e97
test dword [0x4870dc], 0x20000000
jne 0x460e97
mov eax, dword [esp + 0x18]
sub eax, esi
sub eax, edi
cmp eax, 0x18
jge 0x460e97
push 0x18
pop eax
mov ebp, dword [esp + 0x28]
add esi, edi
mov dword [ecx + 4], esi
add esi, eax
mov dword [ecx + 0xc], esi
mov edx, dword [0x48a230]
mov dword [esp + 0x2c], esi
add esi, dword [0x488524]
dec edx
cmp ebp, edx
jge 0x460ef2
cmp esi, dword [esp + 0x18]
jl 0x460ef2
cmp eax, 0x64
jle 0x460ef2
test dword [0x4870dc], 0x20000000
jne 0x460ef2
mov edx, dword [0x488524]
mov esi, dword [ecx + 4]
add edx, edi
add edx, edx
sub esi, edx
add eax, esi
mov dword [ecx + 0xc], eax
mov ecx, dword [0x488524]
mov dword [esp + 0x2c], eax
lea esi, [eax + ecx]
add dword [esp + 0x10], 0x3c
mov edx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [0x48a230]
mov dword [esp + 0x28], ebp
jl 0x460e5e
mov eax, dword [0x48a240]
imul ebp, ebp, 0x3c
lea ebp, [eax + ebp - 0x30]
cmp dword [ebp], edx
jge 0x460f24
mov eax, edx
mov dword [ebp], edx
jmp 0x460f28
mov eax, dword [esp + 0x2c]
mov dword [0x48a360], eax
mov edi, dword [0x48a34c]
jmp 0x46102d
xor edi, edi
test byte [0x4870e0], 0x20
je 0x460f8f
cmp dword [0x48a230], esi
mov ecx, dword [0x48a358]
jle 0x460f81
mov eax, dword [0x48a240]
add eax, esi
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
mov dword [eax + 4], ecx
add ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 0x30]
add eax, ecx
mov ecx, dword [0x488524]
add ecx, eax
inc edi
add esi, 0x3c
cmp edi, dword [0x48a230]
jl 0x460f51
jmp 0x460f85
mov eax, dword [esp + 0x24]
sub eax, dword [0x48a358]
mov ecx, eax
jmp 0x460fe0
mov edx, dword [0x48a358]
xor esi, esi
cmp dword [0x48a230], esi
jle 0x460fcf
mov eax, dword [0x48a240]
add eax, esi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov ebp, dword [eax + 0x30]
add edx, ebp
mov dword [eax + 4], edx
add edx, ecx
mov dword [eax + 0xc], edx
mov ecx, edx
add edx, dword [0x488524]
inc edi
add esi, 0x3c
cmp edi, dword [0x48a230]
jl 0x460f9f
jmp 0x460fd3
mov ecx, dword [esp + 0x24]
sub ecx, dword [0x48a358]
mov ebp, dword [esp + 0xd0]
cmp ebp, 0x320
jl 0x460ffb
mov edi, dword [0x48a34c]
mov dword [esp + 0xd0], 0xfffffffe
jmp 0x461021
cmp ebp, dword [0x48a230]
jl 0x46100c
xor ebp, ebp
mov dword [esp + 0xd0], ebp
mov eax, dword [0x48a240]
imul ebp, ebp, 0x3c
add eax, ebp
mov edi, dword [eax + 8]
sub edi, dword [eax]
add edi, dword [0x48a330]
test dword [0x4870dc], 0x20000000
je 0x461038
mov eax, dword [0x48a350]
mov dword [esp + 0x14], eax
jmp 0x461042
add ecx, dword [0x48a348]
mov dword [esp + 0x14], ecx
xor esi, esi
cmp dword [0x48a230], esi
mov dword [esp + 0x10], esi
jle 0x4610aa
mov eax, dword [0x48a240]
mov ecx, dword [0x48a354]
add eax, esi
mov ebp, dword [eax + 0xc]
mov dword [eax], ecx
mov ecx, dword [0x48a35c]
mov edx, dword [eax]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 4]
push 0x14
sub ebp, ecx
push ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0x10]
imul eax, eax, 0x18
sub ebp, edx
push ebp
push ecx
mov ecx, dword [0x48a23c]
push edx
push 0
push dword [eax + ecx]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
inc dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x10]
add esi, 0x3c
cmp eax, dword [0x48a230]
jl 0x461050
mov eax, dword [0x48a32c]
mov ecx, dword [0x48a328]
add ecx, eax
add dword [esp + 0x14], ecx
test dword [0x4870dc], 0x20000000
je 0x46117e
mov ecx, dword [0x48a230]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x8c], esi
jle 0x4610fb
mov eax, dword [0x48a240]
mov edx, dword [eax + 8]
sub edx, dword [eax]
add eax, 0x3c
add edx, dword [0x488524]
add dword [esp + 0x8c], edx
dec ecx
jne 0x4610e3
mov eax, dword [0x48a35c]
sub eax, dword [0x48a354]
push 1
mov dword [esp + 0x94], eax
mov eax, dword [0x48a364]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x84]
push eax
push esi
push dword [0x48a340]
mov dword [esp + 0x90], 0x1c
mov dword [esp + 0x94], 7
mov dword [esp + 0x98], esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [0x48a348]
mov ecx, dword [0x48a350]
mov edx, dword [0x48a34c]
push 0x14
sub ecx, eax
push ecx
mov ecx, dword [0x48a344]
sub edx, ecx
push edx
push eax
push ecx
push esi
push dword [0x48a340]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
mov ecx, dword [0x48a314]
mov eax, dword [0x48a310]
mov esi, dword [0x488524]
mov edx, dword [0x48a350]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa8], eax
add eax, ecx
mov ecx, dword [0x48a318]
add ecx, eax
mov eax, dword [0x48a31c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [0x4870dc]
and ecx, 0x10
mov dword [esp + 0xc8], eax
lea eax, [esi + edx]
mov dword [0x48a384], eax
jne 0x4611e7
test byte [0x4870e0], 0x20
je 0x4611e7
mov eax, dword [0x48a324]
add dword [0x48a384], eax
mov eax, dword [0x48a328]
mov ebp, dword [0x48a320]
sub eax, esi
mov esi, dword [0x48a330]
mov dword [0x48a38c], eax
mov eax, edx
sub eax, ebp
mov dword [0x48a388], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], eax
test ecx, ecx
jne 0x461228
test byte [0x4870e0], 0x20
je 0x461228
add eax, dword [0x48a324]
mov dword [esp + 0x5c], eax
test byte [0x4870e0], 0x20
mov ecx, dword [0x48a330]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jne 0x461243
mov dword [esp + 0x44], ebp
mov eax, edi
sub eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [0x48a324]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp dword [0x48a370], eax
je 0x4612a8
cmp dword [0x48a378], eax
je 0x46128b
mov ebp, dword [0x48a374]
mov eax, dword [0x488524]
mov ecx, edi
sub ecx, ebp
sub ecx, eax
imul eax, eax, 3
cmp ecx, eax
mov dword [0x48a388], ecx
jge 0x4612ac
mov dword [0x48a388], eax
jmp 0x4612ac
cmp dword [0x48a228], eax
je 0x4612a8
mov eax, dword [esp + 0x5c]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub dword [esp + 0x5c], eax
mov dword [esp + 0x7c], eax
mov ebp, dword [esp + 0x78]
cmp dword [esp + 0xd0], 0xfffffffe
je 0x461465
cmp dword [esp + 0xd0], 0xfffffffc
je 0x461465
mov eax, dword [0x48a260]
test eax, eax
je 0x4612ec
push 0x14
push dword [0x48a314]
lea ecx, [edi + 3]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
mov ecx, dword [0x48a2ac]
test ecx, ecx
je 0x461319
mov eax, dword [0x48a32c]
push 0x14
push eax
lea edx, [edi + 3]
push edx
mov edx, dword [0x48a25c]
sub edx, eax
push edx
push 0
push 0
push ecx
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
xor ecx, ecx
cmp dword [0x48a370], ecx
je 0x4613ac
cmp dword [0x48a378], ecx
je 0x461353
mov eax, dword [0x48a380]
mov ecx, dword [0x48a388]
mov edx, dword [0x48a38c]
add ecx, eax
add ecx, dword [0x488524]
mov eax, dword [0x48a384]
mov dword [esp + 0x7c], edx
jmp 0x46138f
cmp dword [0x48a228], ecx
je 0x46136f
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov ebp, esi
add eax, edx
sub ebp, dword [0x488524]
jmp 0x46138f
mov eax, dword [0x48a328]
sub eax, dword [0x488524]
mov ebp, edi
mov dword [esp + 0x7c], eax
mov eax, dword [0x48a25c]
sub eax, dword [esp + 0x7c]
sub eax, dword [0x48a32c]
push 0x14
push dword [esp + 0x80]
push ebp
push eax
push ecx
push 0
push dword [0x48a370]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
cmp dword [0x48a228], 0
je 0x4613d9
sub esi, dword [0x488524]
push 0x14
push dword [esp + 0x60]
push esi
push dword [esp + 0x60]
push 0
push 0
push dword [0x48a228]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
cmp dword [0x48a378], 0
je 0x46140d
push 0x14
push dword [0x48a38c]
push dword [0x48a388]
push dword [0x48a384]
push dword [0x48a380]
push 0
push dword [0x48a378]
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
mov eax, dword [0x48a224]
test eax, eax
je 0x46143d
push 0x14
push dword [esp + 0xcc]
mov ecx, edi
sub ecx, dword [0x48a31c]
push ecx
push dword [esp + 0xcc]
push 0
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
mov eax, dword [0x48a30c]
test eax, eax
je 0x461465
push 0x14
push dword [esp + 0xac]
push edi
push dword [esp + 0xac]
push 0
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, eax
cmp dword [0x48a234], 0
je 0x461672
mov edx, dword [0x48a234]
cmp edx, 1
jne 0x4614a3
push dword [esp + 0x4c]
mov eax, dword [0x48a240]
push dword [esp + 0x4c]
add eax, 0x18
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push eax
push ebx
call fcn.0046006f
mov ebx, eax
jmp 0x461672
mov eax, dword [0x4870dc]
test al, 0x10
je 0x461507
and dword [esp + 0x1c], 0
test edx, edx
jle 0x461672
xor esi, esi
mov eax, dword [0x48a240]
add eax, esi
test byte [0x4870e0], 0x20
je 0x4614d0
mov edx, dword [eax + 0xc]
jmp 0x4614d6
mov edx, dword [eax + 4]
sub edx, dword [eax + 0x30]
push dword [eax + 0x30]
mov ecx, dword [eax]
mov ebp, dword [eax + 8]
sub ebp, ecx
push ebp
push edx
push ecx
add eax, 0x18
push eax
push ebx
call fcn.0046006f
inc dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esi, 0x3c
cmp eax, dword [0x48a234]
jl 0x4614bb
jmp 0x461672
mov ecx, eax
mov eax, 0x40002000
and ecx, eax
cmp ecx, eax
jne 0x461591
cmp dword [0x48a230], 2
jle 0x461591
and dword [esp + 0x1c], 0
test edx, edx
jle 0x461672
xor esi, esi
mov eax, dword [0x48a240]
add eax, esi
cmp dword [esp + 0x30], 0
je 0x46153f
mov ebp, dword [eax + 0x30]
jmp 0x461543
mov ebp, dword [esp + 0x4c]
mov ecx, dword [0x48a234]
dec ecx
cmp dword [esp + 0x1c], ecx
jge 0x461558
mov edx, dword [0x488524]
jmp 0x46155a
xor edx, edx
mov ecx, dword [eax]
push ebp
mov ebp, dword [eax + 8]
sub ebp, ecx
add ebp, edx
mov edx, dword [eax + 4]
sub edx, dword [eax + 0x30]
push ebp
push edx
push ecx
add eax, 0x18
push eax
push ebx
call fcn.0046006f
inc dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esi, 0x3c
cmp eax, dword [0x48a234]
jl 0x46152c
jmp 0x461672
test byte [0x4870e0], 1
je 0x461610
mov ecx, dword [0x48a354]
mov eax, dword [0x48a35c]
and dword [esp + 0x1c], 0
sub eax, ecx
mov dword [esp + 0x24], eax
test edx, edx
jle 0x461672
xor ebp, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cdq
idiv dword [0x48a234]
push dword [esp + 0x4c]
mov esi, eax
add esi, dword [0x48a354]
mov eax, esi
sub eax, ecx
push eax
push dword [esp + 0x4c]
mov eax, dword [0x48a240]
push ecx
lea eax, [eax + ebp + 0x18]
push eax
push ebx
call fcn.0046006f
inc dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add ebp, 0x3c
cmp eax, dword [0x48a234]
mov ecx, esi
jl 0x4615be
jmp 0x461672
cmp dword [esp + 0x30], 0
jne 0x461672
xor esi, esi
cmp dword [0x48a234], esi
jle 0x461672
and dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
mov eax, dword [0x48a240]
add eax, ecx
mov ecx, dword [0x48a234]
dec ecx
cmp esi, ecx
jge 0x461643
mov edx, dword [0x488524]
jmp 0x461645
xor edx, edx
mov ecx, dword [eax]
push dword [esp + 0x4c]
mov ebp, dword [eax + 8]
sub ebp, ecx
add ebp, edx
push ebp
push dword [esp + 0x4c]
add eax, 0x18
push ecx
push eax
push ebx
call fcn.0046006f
add dword [esp + 0x10], 0x3c
inc esi
cmp esi, dword [0x48a234]
mov ebx, eax
jl 0x461625
xor ebp, ebp
cmp ebx, ebp
je 0x46167f
push ebx
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
cmp dword [esp + 0xd0], 0xfffffffc
je 0x4616d1
test dword [0x4870dc], 0x20000
je 0x4616d1
mov eax, dword [0x48a234]
cmp eax, ebp
je 0x4616d1
xor ebx, ebx
cmp eax, ebp
jle 0x4616d1
xor esi, esi
mov eax, dword [0x48a240]
lea eax, [esi + eax + 0x18]
push eax
call fcn.0045ff75
mov ecx, dword [0x48a240]
cmp dword [esi + ecx + 0x30], eax
jne 0x461775
inc ebx
add esi, 0x3c
cmp ebx, dword [0x48a234]
jl 0x4616a6
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [0x48a30c], ebp
je 0x46170d
lea eax, [esp + 0x60]
push eax
push dword [0x48a30c]
call esi
cmp dword [esp + 0x64], ebp
je 0x46170d
push 0x15
push ebp
push ebp
push dword [esp + 0xac]
push ebp
push ebp
push dword [0x48a30c]
call ebx
cmp dword [esp + 0xd0], ebp
jl 0x4617b3
lea eax, [esp + 0x60]
push eax
push dword [0x48a220]
call esi
lea eax, [esp + 0xac]
push eax
push dword [0x48a220]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xb4]
sub eax, dword [esp + 0x60]
add eax, dword [esp + 0x68]
add eax, edi
cmp eax, 0x10
jl 0x4617b3
test byte [0x4870e0], 0x20
je 0x46177e
cmp dword [0x48a234], ebp
je 0x46177e
mov ecx, dword [esp + 0x14]
add ecx, dword [0x48a324]
jmp 0x461782
push 0xfffffffffffffffc
call fcn.00460142
jmp 0x4617b3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0xb8]
push 0x16
sub edx, dword [esp + 0x68]
mov dword [0x48a36c], 0xfffffffe
add edx, dword [esp + 0x70]
add edx, ecx
push edx
push eax
push ebp
push ebp
push ebp
push dword [0x48a220]
call ebx
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xbc
ret 4