Function at 0x462fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x522121
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [ebx + 0x1ac], esi
sete al
test al, al
jne 0x464080
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x1b0], esi
mov dword [ebx + 0x1b8], eax
mov dword [ebx + 0x1bc], ecx
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
cmp eax, esi
jne 0x46304c
push 0x80004003
call fcn.004f3830
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x40]
push ecx
push eax
call edx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
sub edi, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x6c], edi
cmp eax, esi
jne 0x463089
push 0x80004003
call fcn.004f3830
push 0
push 0x3ed
lea esi, [esp + 0xa8]
call fcn.00466c00
xor edx, edx
mov dword [esp + 0xd8], edx
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], esp
mov dword [ecx], eax
cmp eax, edx
je 0x4630c0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x74]
call fcn.00466110
test eax, eax
jge 0x4630da
cmp eax, 0x80004002
je 0x4630da
push eax
call fcn.004f3830
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4630f5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x463109
push 0x80004003
call fcn.004f3830
push 0
push 0x3ee
lea esi, [esp + 0xa4]
call fcn.00466c00
mov byte [esp + 0xd8], 3
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], esp
mov dword [ecx], eax
test eax, eax
je 0x463143
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x24]
call fcn.00466110
test eax, eax
jge 0x46315d
cmp eax, 0x80004002
je 0x46315d
push eax
call fcn.004f3830
mov byte [esp + 0xd8], 5
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x463178
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x46318c
push 0x80004003
call fcn.004f3830
push 0
push 0x3ef
lea esi, [esp + 0xa0]
call fcn.00466c00
mov byte [esp + 0xd8], 6
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x68], 0
mov dword [esp + 0x14], esp
mov dword [ecx], eax
test eax, eax
je 0x4631c6
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x68]
call fcn.00466190
test eax, eax
jge 0x4631e0
cmp eax, 0x80004002
je 0x4631e0
push eax
call fcn.004f3830
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4631fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x88], 0
test eax, eax
jne 0x463231
push 0x80004003
call fcn.004f3830
push 0
push 0x1f40
lea esi, [esp + 0x24]
call fcn.00466c00
mov byte [esp + 0xd8], 9
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x46328a
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x40]
push ecx
push esi
call edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov byte [esp + 0xd8], 8
test esi, esi
je 0x46329e
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x14], 0
test esi, esi
je 0x4636ed
cmp dword [esp + 0x20], 0
je 0x4636ed
cmp dword [esp + 0x64], 0
je 0x4636ed
movzx eax, byte [ebx + 0x1c7]
xor edi, edi
push edi
push eax
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], esp
push esi
call edx
mov eax, dword [ebx + 0x30]
push eax
mov ecx, edi
xor dl, dl
call fcn.0046bd30
mov ecx, dword [esi]
add esp, 0x10
mov edi, edx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x40]
push esi
call eax
cmp byte [ebx + 0x1c7], 0
je 0x463336
call fcn.00453260
cmp byte [eax + 0xc], 0
je 0x46332f
mov eax, dword [eax]
cmp eax, 0x64
je 0x46332f
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x463338
mov eax, 0x14
jmp 0x463338
xor eax, eax
lea ecx, [edi + eax]
add ecx, dword [esp + 0x44]
push 1
mov dword [esp + 0x50], ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
lea eax, [esp + 0x44]
push eax
push esi
call ecx
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
cmp byte [ebx + 0x1c7], al
je 0x463395
call fcn.00453260
cmp byte [eax + 0xc], 0
je 0x46338e
mov eax, dword [eax]
cmp eax, 0x64
je 0x46338e
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x463397
mov eax, 0xa
jmp 0x463397
xor eax, eax
lea esi, [edi + eax]
add esi, dword [esp + 0x44]
mov dword [esp + 0x28], esi
call fcn.00453260
cmp byte [eax + 0xc], 0
je 0x4633c8
mov eax, dword [eax]
cmp eax, 0x64
je 0x4633c8
push 0x64
push eax
push 0x8a
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x4633d0
mov dword [esp + 0x6c], 0x8a
mov edx, dword [esp + 0x4c]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esp
call fcn.00465fd0
call fcn.004670d0
add esp, 4
cmp al, 1
jne 0x4635ad
mov esi, dword [esp + 0x20]
xor edi, edi
push edi
push edi
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], esp
push esi
call ecx
mov edx, dword [ebx + 0x30]
push edx
mov ecx, edi
xor dl, dl
call fcn.0046bd30
add esp, 0x10
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push ecx
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x40]
push esi
call edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x88]
push edi
mov dword [esp + 0x84], eax
add ecx, edx
push 0x3ec
lea eax, [ebx + 0x1ac]
mov dword [esp + 0x80], ecx
call fcn.00464d90
lea esi, [esp + 0x24]
call fcn.00466c00
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 0xa
call fcn.00465f90
mov byte [esp + 0xd8], 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4634b0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x463525
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.00465fd0
call fcn.004670d0
add esp, 4
cmp al, 1
jne 0x463525
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x50]
push ecx
push esi
call edx
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x78]
jl 0x463525
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x74]
jl 0x463525
call fcn.00453260
cmp byte [eax + 0xc], 0
je 0x463516
mov eax, dword [eax]
cmp eax, 0x64
je 0x463516
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
jmp 0x46351b
mov edi, 0xa
mov edx, dword [esp + 0x5c]
add edx, edi
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x80], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
push 1
lea eax, [esp + 0x78]
push eax
push esi
call ecx
mov edx, dword [esp + 0x30]
add edx, edi
add edx, dword [esp + 0x88]
add dword [esp + 0x28], edx
call fcn.00453260
cmp byte [eax + 0xc], 0
je 0x463580
mov eax, dword [eax]
cmp eax, 0x64
je 0x463580
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x463588
mov dword [esp + 0x6c], 0x96
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4635bc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4635bc
add esi, dword [esp + 0x88]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.00465fd0
call fcn.004670d0
add esp, 4
cmp al, 1
jne 0x4636cb
mov edi, dword [esp + 0x64]
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edi
call edx
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.00465fd0
call fcn.004670d0
movzx eax, al
add esp, 4
neg eax
sbb eax, eax
and eax, dword [esp + 0x88]
push 1
add eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
add eax, esi
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push ecx
push edi
call edx
mov eax, dword [esp + 0x90]
add eax, esi
add dword [esp + 0x28], eax
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.00465fd0
call fcn.004670d0
add esp, 4
test al, al
je 0x463691
call fcn.00453260
cmp byte [eax + 0xc], 0
je 0x463687
mov eax, dword [eax]
cmp eax, 0x64
je 0x463687
push 0x64
push eax
push 0xa9
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x4636bf
mov dword [esp + 0x6c], 0xa9
jmp 0x4636bf
call fcn.00453260
cmp byte [eax + 0xc], 0
je 0x4636b7
mov eax, dword [eax]
cmp eax, 0x64
je 0x4636b7
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x4636bf
mov dword [esp + 0x6c], 0x96
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
push 1
push eax
mov eax, dword [edx + 0x9c]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x9c]
push 1
push esi
call edx
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 0x218]
sub eax, dword [ebx + 0x214]
test eax, 0xfffffff0
je 0x4639ea
mov eax, dword [ebx + 0x218]
sub eax, dword [ebx + 0x214]
xor ecx, ecx
sar eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
jbe 0x463973
mov dword [esp + 0x1c], ecx
lea esp, [esp]
mov ecx, dword [ebx + 0x218]
sub ecx, dword [ebx + 0x214]
sar ecx, 4
cmp dword [esp + 0x18], ecx
jb 0x46374a
call fcn.004f4962
mov edi, dword [ebx + 0x214]
add edi, dword [esp + 0x1c]
xor edx, edx
movzx ecx, word [edi + 8]
cmp dx, cx
je 0x4637be
mov eax, dword [ebx + 0x1ac]
test eax, eax
je 0x463042
push 1
push ecx
lea esi, [esp + 0x8c]
call fcn.00466c00
mov byte [esp + 0xd8], 0xd
mov esi, dword [esp + 0x84]
test esi, esi
je 0x4637aa
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0xbc]
push ecx
push esi
call edx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov byte [esp + 0xd8], 8
test esi, esi
je 0x4637be
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [edi + 0xc]
cmp esi, 0xffffffff
je 0x463850
mov eax, dword [ebx + 0x218]
sub eax, dword [ebx + 0x214]
sar eax, 4
cmp esi, eax
jge 0x463850
mov ecx, dword [ebx + 0x218]
sub ecx, dword [ebx + 0x214]
sar ecx, 4
cmp esi, ecx
jb 0x4637f5
call fcn.004f4962
shl esi, 4
add esi, dword [ebx + 0x214]
push ecx
mov eax, dword [esi]
mov ecx, esp
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], esp
mov dword [ecx], eax
test eax, eax
je 0x463819
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0xa8]
call fcn.0046c330
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x18]
add esp, 4
sub ecx, dword [edx + 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], ecx
mov eax, dword [edi]
test eax, eax
je 0x463042
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0xa8]
call eax
mov eax, dword [esp + 0x60]
cmp eax, 3
je 0x46390a
cmp eax, 2
je 0x46390a
cmp eax, 9
je 0x46390a
cmp eax, 1
je 0x46390a
cmp eax, 0xb
jne 0x46395b
xor esi, esi
push esi
push esi
push ecx
mov eax, edi
mov ecx, esp
mov dword [esp + 0x38], esp
call fcn.00465f10
mov ecx, dword [ebx + 0x30]
push ecx
mov ecx, esi
xor dl, dl
call fcn.0046bd30
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
add esp, 0x10
mov esi, edx
test eax, eax
je 0x463042
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x50]
push ecx
push eax
call edx
mov eax, dword [edi + 4]
add eax, dword [esp + 0x14]
mov edi, dword [edi]
add esi, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], esi
test edi, edi
je 0x463042
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push 1
lea ecx, [esp + 0x54]
push ecx
push edi
call edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
jmp 0x46395b
mov eax, dword [edi]
test eax, eax
je 0x463042
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x4c]
add ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x44]
mov edi, dword [edi]
mov dword [esp + 0x44], ecx
add ecx, eax
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x463042
mov ecx, dword [edi]
mov eax, dword [ecx + 0x44]
push 1
lea edx, [esp + 0x44]
push edx
push edi
call eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x10
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x10]
jb 0x463730
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
cmp edi, eax
jg 0x463981
mov edi, eax
test byte [0x5758b4], 1
jne 0x4639bf
or dword [0x5758b4], 1
mov eax, 0x60
mov dword [0x5758b8], 0x64
mov dword [0x5758bc], eax
mov dword [0x5758c0], eax
mov byte [0x5758c4], 0
call fcn.00405f90
test al, al
jne 0x4639bf
call fcn.00453200
cmp byte [0x5758c4], 0
je 0x4639e1
mov eax, dword [0x5758b8]
cmp eax, 0x64
je 0x4639e1
push 0x64
push eax
push 0x1f
call dword [sym.imp.KERNEL32.dll_MulDiv]
add edi, eax
jmp 0x463a20
mov eax, 0x1f
add edi, eax
jmp 0x463a20
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00465fd0
call fcn.004670d0
movzx edx, al
mov eax, dword [esp + 0x70]
add esp, 4
neg edx
sbb edx, edx
and edx, dword [esp + 0x8c]
add edi, edx
cmp eax, edi
mov dword [esp + 0x28], edi
jle 0x463a24
mov edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [ebp + 0xc]
cmp eax, 4
jne 0x463ab9
mov eax, dword [ebx + 0x1ac]
push 0
push ecx
mov ecx, esp
mov esi, 0x22b7
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x463a52
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00467140
mov eax, dword [ebx + 0x1ac]
add esp, 8
push 0
push ecx
mov ecx, esp
mov esi, 1
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x463a7e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00467140
mov eax, dword [ebx + 0x1ac]
add esp, 8
push 0
push ecx
mov ecx, esp
mov esi, 2
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x463aaa
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00467140
add esp, 8
jmp 0x463fb1
cmp eax, 1
je 0x463dcf
cmp eax, 2
je 0x463dcf
test eax, eax
je 0x463ad8
cmp eax, 3
jne 0x463fb1
mov edi, dword [ebx + 0x1c8]
mov eax, dword [ebx + 0x1ac]
dec edi
neg edi
sbb edi, edi
add edi, 2
test eax, eax
jne 0x463afa
push 0x80004003
call fcn.004f3830
movzx ecx, word [ebx + 0x1c8]
push 0
push ecx
lea esi, [esp + 0x20]
call fcn.00466c00
mov byte [esp + 0xd8], 0x11
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x463b29
push 0x80004003
call fcn.004f3830
push 0
push edi
lea esi, [esp + 0x1c]
call fcn.00466c00
mov byte [esp + 0xd8], 0x12
mov edi, dword [esp + 0x18]
test edi, edi
je 0x463d9f
cmp dword [esp + 0x14], 0
je 0x463d9f
lea edx, [ebx + 0x1cc]
push edx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea esi, [eax + ecx]
mov eax, dword [ebx + 0x1fc]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x200]
push ecx
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x58], esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [edi]
mov ecx, dword [edx + 0x44]
push 1
lea eax, [esp + 0x44]
push eax
push edi
call ecx
lea edx, [ebx + 0x1dc]
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x1fc]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x200]
push ecx
push eax
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x68], esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
cmp byte [ebx + 0x224], 0
mov dword [esp + 0x28], esi
je 0x463c81
push 0
push ecx
mov eax, esp
mov dword [eax], edi
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], esp
push edi
call edx
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 0x54]
push ecx
call fcn.00483220
mov byte [esp + 0xd8], 0x13
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x463c5c
lea esi, [esp + 0x10]
call fcn.00466b40
lea edi, [ebx + 0x22c]
mov byte [esp + 0xd8], 0x14
call fcn.0042b950
mov ecx, esi
mov byte [esp + 0xd8], 0x13
call fcn.004062c0
mov edx, dword [ebx + 0x228]
push edx
push ebx
call fcn.00464c10
mov byte [esp + 0xd8], 0x12
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x463c81
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x30]
mov esi, dword [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x34], esp
mov edi, esp
push 0
push ecx
mov dword [esp + 0x20], eax
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], esp
push esi
call edx
lea eax, [ebx + 0x54]
push edi
push eax
call fcn.00483220
mov edx, dword [esp + 0x18]
mov ecx, 3
call fcn.004781f0
mov eax, dword [ebx + 0x30]
add esp, 8
push 0
push ecx
mov dword [esp + 0x34], esp
mov edi, esp
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], esp
push eax
mov dword [esp + 0x24], 3
call edx
push edi
lea eax, [ebx + 0x54]
push eax
call fcn.00483220
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
call fcn.004781f0
add esp, 8
lea eax, [esp + 0xa4]
push eax
call fcn.00418a30
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0xa8]
mov byte [esp + 0xdc], 0x15
call fcn.004651d0
lea edx, [esp + 0x14]
push edx
call fcn.004651d0
mov ecx, dword [ebx + 0x30]
mov eax, edi
push eax
push ecx
call fcn.00469a70
add esp, 8
push 1
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [esp + 0x34], esp
push esi
call eax
call fcn.00467030
add esp, 8
push 1
push ecx
mov dword [esp + 0x34], esp
mov eax, dword [esp + 0x1c]
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.00467030
add esp, 8
mov eax, edi
push eax
call fcn.004860b0
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004f3984
add esp, 4
mov edi, esi
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x14]
test eax, eax
je 0x463db7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xd8], 8
test edi, edi
je 0x463fb1
mov ecx, dword [edi]
push edi
jmp 0x463fac
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x463de3
push 0x80004003
call fcn.004f3830
xor ecx, ecx
cmp dword [ebp + 0xc], 1
push 0
setne cl
lea esi, [esp + 0x20]
inc ecx
push ecx
call fcn.00466c00
mov byte [esp + 0xd8], 0xe
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x463f35
cmp byte [ebx + 0x224], 0
je 0x463ea3
push 0
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [esp + 0x34], esp
push esi
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [ebx + 0x54]
push edx
call fcn.00483220
mov byte [esp + 0xd8], 0xf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x463e7e
lea esi, [esp + 0x10]
call fcn.00466b40
lea edi, [ebx + 0x22c]
mov byte [esp + 0xd8], 0x10
call fcn.0042b950
mov ecx, esi
mov byte [esp + 0xd8], 0xf
call fcn.004062c0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 0x228]
push eax
push ebx
call fcn.00464c10
mov byte [esp + 0xd8], 0xe
mov eax, dword [esp + 0x18]
test eax, eax
je 0x463ea3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [ebx + 0x1d0]
mov edx, dword [ebx + 0x1d4]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x1d8]
sub eax, ecx
add eax, edi
push 1
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ecx
push esi
call edx
mov eax, dword [ebx + 0x30]
push 0
push ecx
mov dword [esp + 0x34], esp
mov edi, esp
push 0
push ecx
mov dword [esp + 0x70], eax
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], esp
push esi
mov dword [esp + 0x24], 3
call edx
push edi
lea eax, [ebx + 0x54]
push eax
call fcn.00483220
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
call fcn.004781f0
mov ecx, dword [esp + 0x8c]
add esp, 8
mov dword [esp + 0x28], ecx
mov edi, 1
cmp dword [ebp + 0xc], edi
sete dl
movzx eax, dl
push eax
mov eax, dword [ebx + 0x1ac]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x463f5f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, edi
call fcn.00467140
add esp, 8
mov edi, 2
cmp dword [ebp + 0xc], edi
sete al
movzx ecx, al
mov eax, dword [ebx + 0x1ac]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x463f93
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00467140
add esp, 8
mov byte [esp + 0xd8], 8
test esi, esi
je 0x463fb1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx + 8]
call edx
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0x94]
cmp byte [ebx + 0x224], 0
je 0x463fd8
mov eax, dword [ebx + 0x30]
push 0
push 0x3e8
push 0x11
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebx + 0x30]
add ebx, 0x30
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46400a
mov edx, dword [esp + 0x24]
push 0x21c
push esi
push edx
push eax
push eax
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
xor eax, eax
call fcn.00466980
jmp 0x464035
mov edx, dword [ebx]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0x14
push esi
push eax
mov eax, dword [ebx]
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [esp + 0xd8], 5
mov eax, dword [esp + 0x64]
test eax, eax
je 0x46404d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x464065
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x70]
test eax, eax
je 0x464080
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc