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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1b44
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x4e24e0]
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 + 0x194], esi
sete al
test al, al
jne 0x488e0e
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x198], esi
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x1a4], ecx
mov eax, dword [ebx + 0x194]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
cmp eax, esi
jne 0x487ddc
push 0x80004003
call fcn.00441d80
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 + 0x194]
mov dword [esp + 0x6c], edi
cmp eax, esi
jne 0x487e19
push 0x80004003
call fcn.00441d80
push 0
push 0x3ed
lea esi, [esp + 0xa8]
call fcn.0041a470
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 0x487e50
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x74]
call fcn.00419b80
test eax, eax
jge 0x487e6a
cmp eax, 0x80004002
je 0x487e6a
push eax
call fcn.00441d80
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x487e85
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x194]
test eax, eax
jne 0x487e99
push 0x80004003
call fcn.00441d80
push 0
push 0x3ee
lea esi, [esp + 0xa4]
call fcn.0041a470
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 0x487ed3
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x24]
call fcn.00419b80
test eax, eax
jge 0x487eed
cmp eax, 0x80004002
je 0x487eed
push eax
call fcn.00441d80
mov byte [esp + 0xd8], 5
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x487f08
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x194]
test eax, eax
jne 0x487f1c
push 0x80004003
call fcn.00441d80
push 0
push 0x3ef
lea esi, [esp + 0xa0]
call fcn.0041a470
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 0x487f56
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x68]
call fcn.00419c00
test eax, eax
jge 0x487f70
cmp eax, 0x80004002
je 0x487f70
push eax
call fcn.00441d80
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x98]
test eax, eax
je 0x487f8b
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 + 0x194]
mov dword [esp + 0x88], 0
test eax, eax
jne 0x487fc1
push 0x80004003
call fcn.00441d80
push 0
push 0x1f40
lea esi, [esp + 0x24]
call fcn.0041a470
mov byte [esp + 0xd8], 9
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x48801a
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 0x48802e
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 0x48847d
cmp dword [esp + 0x20], 0
je 0x48847d
cmp dword [esp + 0x64], 0
je 0x48847d
movzx eax, byte [ebx + 0x1af]
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.00485550
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 + 0x1af], 0
je 0x4880c6
call fcn.004181e0
cmp byte [eax + 0xc], 0
je 0x4880bf
mov eax, dword [eax]
cmp eax, 0x64
je 0x4880bf
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4880c8
mov eax, 0x14
jmp 0x4880c8
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 + 0x1af], al
je 0x488125
call fcn.004181e0
cmp byte [eax + 0xc], 0
je 0x48811e
mov eax, dword [eax]
cmp eax, 0x64
je 0x48811e
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x488127
mov eax, 0xa
jmp 0x488127
xor eax, eax
lea esi, [edi + eax]
add esi, dword [esp + 0x44]
mov dword [esp + 0x28], esi
call fcn.004181e0
cmp byte [eax + 0xc], 0
je 0x488158
mov eax, dword [eax]
cmp eax, 0x64
je 0x488158
push 0x64
push eax
push 0x8a
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x488160
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.004199c0
call fcn.00484200
add esp, 4
cmp al, 1
jne 0x48833d
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.00485550
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 + 0x194]
mov dword [esp + 0x80], ecx
call fcn.00418350
lea esi, [esp + 0x24]
call fcn.0041a470
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 0xa
call fcn.00419980
mov byte [esp + 0xd8], 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x488240
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4882b5
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.004199c0
call fcn.00484200
add esp, 4
cmp al, 1
jne 0x4882b5
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 0x4882b5
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x74]
jl 0x4882b5
call fcn.004181e0
cmp byte [eax + 0xc], 0
je 0x4882a6
mov eax, dword [eax]
cmp eax, 0x64
je 0x4882a6
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
jmp 0x4882ab
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.004181e0
cmp byte [eax + 0xc], 0
je 0x488310
mov eax, dword [eax]
cmp eax, 0x64
je 0x488310
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x488318
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 0x48834c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x48834c
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.004199c0
call fcn.00484200
add esp, 4
cmp al, 1
jne 0x48845b
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.004199c0
call fcn.00484200
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.004199c0
call fcn.00484200
add esp, 4
test al, al
je 0x488421
call fcn.004181e0
cmp byte [eax + 0xc], 0
je 0x488417
mov eax, dword [eax]
cmp eax, 0x64
je 0x488417
push 0x64
push eax
push 0xa9
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x48844f
mov dword [esp + 0x6c], 0xa9
jmp 0x48844f
call fcn.004181e0
cmp byte [eax + 0xc], 0
je 0x488447
mov eax, dword [eax]
cmp eax, 0x64
je 0x488447
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x48844f
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 + 0x200]
sub eax, dword [ebx + 0x1fc]
test eax, 0xfffffff0
je 0x48877a
mov eax, dword [ebx + 0x200]
sub eax, dword [ebx + 0x1fc]
xor ecx, ecx
sar eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
jbe 0x488703
mov dword [esp + 0x1c], ecx
lea esp, [esp]
mov ecx, dword [ebx + 0x200]
sub ecx, dword [ebx + 0x1fc]
sar ecx, 4
cmp dword [esp + 0x18], ecx
jb 0x4884da
call fcn.00446707
mov edi, dword [ebx + 0x1fc]
add edi, dword [esp + 0x1c]
xor edx, edx
movzx ecx, word [edi + 8]
cmp dx, cx
je 0x48854e
mov eax, dword [ebx + 0x194]
test eax, eax
je 0x487dd2
push 1
push ecx
lea esi, [esp + 0x8c]
call fcn.0041a470
mov byte [esp + 0xd8], 0xd
mov esi, dword [esp + 0x84]
test esi, esi
je 0x48853a
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 0x48854e
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [edi + 0xc]
cmp esi, 0xffffffff
je 0x4885e0
mov eax, dword [ebx + 0x200]
sub eax, dword [ebx + 0x1fc]
sar eax, 4
cmp esi, eax
jge 0x4885e0
mov ecx, dword [ebx + 0x200]
sub ecx, dword [ebx + 0x1fc]
sar ecx, 4
cmp esi, ecx
jb 0x488585
call fcn.00446707
shl esi, 4
add esi, dword [ebx + 0x1fc]
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 0x4885a9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0xa8]
call fcn.00483ee0
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 0x487dd2
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 0x48869a
cmp eax, 2
je 0x48869a
cmp eax, 9
je 0x48869a
cmp eax, 1
je 0x48869a
cmp eax, 0xb
jne 0x4886eb
xor esi, esi
push esi
push esi
push ecx
mov eax, edi
mov ecx, esp
mov dword [esp + 0x38], esp
call fcn.00419900
mov ecx, dword [ebx + 0x30]
push ecx
mov ecx, esi
xor dl, dl
call fcn.00485550
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
add esp, 0x10
mov esi, edx
test eax, eax
je 0x487dd2
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 0x487dd2
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 0x4886eb
mov eax, dword [edi]
test eax, eax
je 0x487dd2
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 0x487dd2
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 0x4884c0
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
cmp edi, eax
jg 0x488711
mov edi, eax
test byte [0x4ebbb4], 1
jne 0x48874f
or dword [0x4ebbb4], 1
mov eax, 0x60
mov dword [0x4ebbb8], 0x64
mov dword [0x4ebbbc], eax
mov dword [0x4ebbc0], eax
mov byte [0x4ebbc4], 0
call fcn.0048eb90
test al, al
jne 0x48874f
call fcn.00417ff0
cmp byte [0x4ebbc4], 0
je 0x488771
mov eax, dword [0x4ebbb8]
cmp eax, 0x64
je 0x488771
push 0x64
push eax
push 0x1f
call dword [sym.imp.KERNEL32.dll_MulDiv]
add edi, eax
jmp 0x4887b0
mov eax, 0x1f
add edi, eax
jmp 0x4887b0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.004199c0
call fcn.00484200
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 0x4887b4
mov edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [ebp + 0xc]
cmp eax, 4
jne 0x488849
mov eax, dword [ebx + 0x194]
push 0
push ecx
mov ecx, esp
mov esi, 0x22b7
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x4887e2
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00484a70
mov eax, dword [ebx + 0x194]
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 0x48880e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00484a70
mov eax, dword [ebx + 0x194]
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 0x48883a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00484a70
add esp, 8
jmp 0x488d41
cmp eax, 1
je 0x488b5f
cmp eax, 2
je 0x488b5f
test eax, eax
je 0x488868
cmp eax, 3
jne 0x488d41
mov edi, dword [ebx + 0x1b0]
mov eax, dword [ebx + 0x194]
dec edi
neg edi
sbb edi, edi
add edi, 2
test eax, eax
jne 0x48888a
push 0x80004003
call fcn.00441d80
movzx ecx, word [ebx + 0x1b0]
push 0
push ecx
lea esi, [esp + 0x20]
call fcn.0041a470
mov byte [esp + 0xd8], 0x11
mov eax, dword [ebx + 0x194]
test eax, eax
jne 0x4888b9
push 0x80004003
call fcn.00441d80
push 0
push edi
lea esi, [esp + 0x1c]
call fcn.0041a470
mov byte [esp + 0xd8], 0x12
mov edi, dword [esp + 0x18]
test edi, edi
je 0x488b2f
cmp dword [esp + 0x14], 0
je 0x488b2f
lea edx, [ebx + 0x1b4]
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 + 0x1e4]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x1e8]
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 + 0x1c4]
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x1e4]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x1e8]
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 + 0x20c], 0
mov dword [esp + 0x28], esi
je 0x488a11
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.00476b40
mov byte [esp + 0xd8], 0x13
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4889ec
lea esi, [esp + 0x10]
call fcn.00417a90
lea edi, [ebx + 0x214]
mov byte [esp + 0xd8], 0x14
call fcn.00411540
mov ecx, esi
mov byte [esp + 0xd8], 0x13
call fcn.00402430
mov edx, dword [ebx + 0x210]
push edx
push ebx
call fcn.00487770
mov byte [esp + 0xd8], 0x12
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x488a11
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.00476b40
mov edx, dword [esp + 0x18]
mov ecx, 3
call fcn.004804d0
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.00476b40
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
call fcn.004804d0
add esp, 8
lea eax, [esp + 0xa4]
push eax
call fcn.00418790
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0xa8]
mov byte [esp + 0xdc], 0x15
call fcn.00418800
lea edx, [esp + 0x14]
push edx
call fcn.00418800
mov ecx, dword [ebx + 0x30]
mov eax, edi
push eax
push ecx
call fcn.00485660
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.00484270
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.00484270
add esp, 8
mov eax, edi
push eax
call fcn.0041d9b0
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0044556f
add esp, 4
mov edi, esi
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x14]
test eax, eax
je 0x488b47
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xd8], 8
test edi, edi
je 0x488d41
mov ecx, dword [edi]
push edi
jmp 0x488d3c
mov eax, dword [ebx + 0x194]
test eax, eax
jne 0x488b73
push 0x80004003
call fcn.00441d80
xor ecx, ecx
cmp dword [ebp + 0xc], 1
push 0
setne cl
lea esi, [esp + 0x20]
inc ecx
push ecx
call fcn.0041a470
mov byte [esp + 0xd8], 0xe
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x488cc5
cmp byte [ebx + 0x20c], 0
je 0x488c33
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.00476b40
mov byte [esp + 0xd8], 0xf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x488c0e
lea esi, [esp + 0x10]
call fcn.00417a90
lea edi, [ebx + 0x214]
mov byte [esp + 0xd8], 0x10
call fcn.00411540
mov ecx, esi
mov byte [esp + 0xd8], 0xf
call fcn.00402430
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 0x210]
push eax
push ebx
call fcn.00487770
mov byte [esp + 0xd8], 0xe
mov eax, dword [esp + 0x18]
test eax, eax
je 0x488c33
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1b4]
mov ecx, dword [ebx + 0x1b8]
mov edx, dword [ebx + 0x1bc]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x1c0]
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.00476b40
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
call fcn.004804d0
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 + 0x194]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x488cef
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, edi
call fcn.00484a70
add esp, 8
mov edi, 2
cmp dword [ebp + 0xc], edi
sete al
movzx ecx, al
mov eax, dword [ebx + 0x194]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x488d23
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00484a70
add esp, 8
mov byte [esp + 0xd8], 8
test esi, esi
je 0x488d41
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 + 0x20c], 0
je 0x488d68
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 0x488d98
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
call fcn.0041a0f0
jmp 0x488dc3
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 0x488ddb
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 0x488df3
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 0x488e0e
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