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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56d881
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
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 0x488eb0
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 0x487e7c
push 0x80004003
call fcn.0053d640
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push eax
call edx
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x64], edi
cmp eax, esi
jne 0x487eb9
push 0x80004003
call fcn.0053d640
push 0
push 0x3ed
lea esi, [esp + 0xa8]
call fcn.00471100
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 0x487ef0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x74]
call fcn.00473e30
test eax, eax
jge 0x487f0a
cmp eax, 0x80004002
je 0x487f0a
push eax
call fcn.0053d640
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x487f25
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x487f39
push 0x80004003
call fcn.0053d640
push 0
push 0x3ee
lea esi, [esp + 0xa4]
call fcn.00471100
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 0x487f73
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x24]
call fcn.00473e30
test eax, eax
jge 0x487f8d
cmp eax, 0x80004002
je 0x487f8d
push eax
call fcn.0053d640
mov byte [esp + 0xd8], 5
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x487fa8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x487fbc
push 0x80004003
call fcn.0053d640
push 0
push 0x3ef
lea esi, [esp + 0xa0]
call fcn.00471100
mov byte [esp + 0xd8], 6
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x70], 0
mov dword [esp + 0x14], esp
mov dword [ecx], eax
test eax, eax
je 0x487ff6
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x70]
call fcn.00473eb0
test eax, eax
jge 0x488010
cmp eax, 0x80004002
je 0x488010
push eax
call fcn.0053d640
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x98]
test eax, eax
je 0x48802b
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 0x488061
push 0x80004003
call fcn.0053d640
push 0
push 0x1f40
lea esi, [esp + 0x24]
call fcn.00471100
mov byte [esp + 0xd8], 9
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4880ba
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push esi
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov byte [esp + 0xd8], 8
test esi, esi
je 0x4880ce
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 0x48851d
cmp dword [esp + 0x20], 0
je 0x48851d
cmp dword [esp + 0x6c], 0
je 0x48851d
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.00493320
mov ecx, dword [esi]
add esp, 0x10
mov edi, edx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x40]
push esi
call eax
cmp byte [ebx + 0x1c7], 0
je 0x488166
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x48815f
mov eax, dword [eax]
cmp eax, 0x64
je 0x48815f
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x488168
mov eax, 0x14
jmp 0x488168
xor eax, eax
lea ecx, [edi + eax]
add ecx, dword [esp + 0x30]
push 1
mov dword [esp + 0x3c], ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
lea eax, [esp + 0x30]
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 0x4881c5
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4881be
mov eax, dword [eax]
cmp eax, 0x64
je 0x4881be
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4881c7
mov eax, 0xa
jmp 0x4881c7
xor eax, eax
lea esi, [edi + eax]
add esi, dword [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4881f8
mov eax, dword [eax]
cmp eax, 0x64
je 0x4881f8
push 0x64
push eax
push 0x8a
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x64], eax
jmp 0x488200
mov dword [esp + 0x64], 0x8a
mov edx, dword [esp + 0x38]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esp
call fcn.00473d80
call fcn.0048c880
add esp, 4
cmp al, 1
jne 0x4883dd
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.00493320
add esp, 0x10
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push ecx
mov dword [esp + 0x44], 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 + 0x38]
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.00473640
lea esi, [esp + 0x24]
call fcn.00471100
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 0xa
call fcn.00484dd0
mov byte [esp + 0xd8], 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4882e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x488355
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.00473d80
call fcn.0048c880
add esp, 4
cmp al, 1
jne 0x488355
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 0x488355
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x74]
jl 0x488355
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x488346
mov eax, dword [eax]
cmp eax, 0x64
je 0x488346
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
jmp 0x48834b
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 + 0x40]
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 + 0x40]
add edx, edi
add edx, dword [esp + 0x88]
add dword [esp + 0x28], edx
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4883b0
mov eax, dword [eax]
cmp eax, 0x64
je 0x4883b0
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x64], eax
jmp 0x4883b8
mov dword [esp + 0x64], 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 0x4883ec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4883ec
add esi, dword [esp + 0x88]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.00473d80
call fcn.0048c880
add esp, 4
cmp al, 1
jne 0x4884fb
mov edi, dword [esp + 0x6c]
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x3c]
push ecx
push edi
call edx
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
call fcn.00473d80
call fcn.0048c880
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 + 0x40]
mov dword [esp + 0x44], eax
add eax, esi
mov dword [esp + 0x4c], 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.00473d80
call fcn.0048c880
add esp, 4
test al, al
je 0x4884c1
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4884b7
mov eax, dword [eax]
cmp eax, 0x64
je 0x4884b7
push 0x64
push eax
push 0xa9
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x64], eax
jmp 0x4884ef
mov dword [esp + 0x64], 0xa9
jmp 0x4884ef
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4884e7
mov eax, dword [eax]
cmp eax, 0x64
je 0x4884e7
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x64], eax
jmp 0x4884ef
mov dword [esp + 0x64], 0x96
mov ecx, dword [esp + 0x48]
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 0x48881c
mov esi, ebx
call fcn.0048a6a0
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 0x4887a3
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x218]
sub ecx, dword [ebx + 0x214]
sar ecx, 4
cmp dword [esp + 0x18], ecx
jb 0x48857a
call fcn.0053ecd6
mov edi, dword [ebx + 0x214]
add edi, dword [esp + 0x1c]
xor edx, edx
movzx ecx, word [edi + 8]
cmp dx, cx
je 0x4885ee
mov eax, dword [ebx + 0x1ac]
test eax, eax
je 0x487e72
push 1
push ecx
lea esi, [esp + 0x8c]
call fcn.00471100
mov byte [esp + 0xd8], 0xd
mov esi, dword [esp + 0x84]
test esi, esi
je 0x4885da
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 0x4885ee
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [edi + 0xc]
cmp esi, 0xffffffff
je 0x488680
mov eax, dword [ebx + 0x218]
sub eax, dword [ebx + 0x214]
sar eax, 4
cmp esi, eax
jge 0x488680
mov ecx, dword [ebx + 0x218]
sub ecx, dword [ebx + 0x214]
sar ecx, 4
cmp esi, ecx
jb 0x488625
call fcn.0053ecd6
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 + 0x40], esp
mov dword [ecx], eax
test eax, eax
je 0x488649
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0xa8]
call fcn.00493db0
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 0x487e72
mov ecx, dword [eax]
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0xa8]
call eax
mov eax, dword [esp + 0x68]
cmp eax, 3
je 0x48873a
cmp eax, 2
je 0x48873a
cmp eax, 9
je 0x48873a
cmp eax, 1
je 0x48873a
cmp eax, 0xb
jne 0x48878b
xor esi, esi
push esi
push esi
push ecx
mov eax, edi
mov ecx, esp
mov dword [esp + 0x48], esp
call fcn.00473cc0
mov ecx, dword [ebx + 0x30]
push ecx
mov ecx, esi
xor dl, dl
call fcn.00493320
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
add esp, 0x10
mov esi, edx
test eax, eax
je 0x487e72
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 0x487e72
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 0x48878b
mov eax, dword [edi]
test eax, eax
je 0x487e72
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x38]
add ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x30]
mov edi, dword [edi]
mov dword [esp + 0x30], ecx
add ecx, eax
mov dword [esp + 0x38], ecx
test edi, edi
je 0x487e72
mov ecx, dword [edi]
mov eax, dword [ecx + 0x44]
push 1
lea edx, [esp + 0x30]
push edx
push edi
call eax
mov ecx, dword [esp + 0x38]
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 0x488560
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x64], edx
mov edi, dword [esp + 0x64]
jg 0x4887b3
mov edi, edx
test byte [0x5d3248], 1
jne 0x4887f1
or dword [0x5d3248], 1
mov eax, 0x60
mov dword [0x5d324c], 0x64
mov dword [0x5d3250], eax
mov dword [0x5d3254], eax
mov byte [0x5d3258], 0
call fcn.00403ed0
test al, al
jne 0x4887f1
call fcn.0046da40
cmp byte [0x5d3258], 0
je 0x488813
mov eax, dword [0x5d324c]
cmp eax, 0x64
je 0x488813
push 0x64
push eax
push 0x1f
call dword [sym.imp.KERNEL32.dll_MulDiv]
add edi, eax
jmp 0x488852
mov eax, 0x1f
add edi, eax
jmp 0x488852
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
call fcn.00473d80
call fcn.0048c880
movzx eax, al
add esp, 4
neg eax
sbb eax, eax
and eax, dword [esp + 0x8c]
add edi, eax
mov eax, dword [esp + 0x64]
cmp eax, edi
mov dword [esp + 0x28], edi
jle 0x488856
mov edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [ebp + 0xc]
cmp eax, 4
jne 0x4888eb
mov eax, dword [ebx + 0x1ac]
push 0
push ecx
mov ecx, esp
mov esi, 0x22b7
mov dword [esp + 0x44], esp
mov dword [ecx], eax
test eax, eax
je 0x488884
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.0048c8f0
mov eax, dword [ebx + 0x1ac]
add esp, 8
push 0
push ecx
mov ecx, esp
mov esi, 1
mov dword [esp + 0x44], esp
mov dword [ecx], eax
test eax, eax
je 0x4888b0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.0048c8f0
mov eax, dword [ebx + 0x1ac]
add esp, 8
push 0
push ecx
mov ecx, esp
mov esi, 2
mov dword [esp + 0x44], esp
mov dword [ecx], eax
test eax, eax
je 0x4888dc
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.0048c8f0
add esp, 8
jmp 0x488de3
cmp eax, 1
je 0x488c01
cmp eax, 2
je 0x488c01
test eax, eax
je 0x48890a
cmp eax, 3
jne 0x488de3
mov edi, dword [ebx + 0x1c8]
mov eax, dword [ebx + 0x1ac]
dec edi
neg edi
sbb edi, edi
add edi, 2
test eax, eax
jne 0x48892c
push 0x80004003
call fcn.0053d640
movzx ecx, word [ebx + 0x1c8]
push 0
push ecx
lea esi, [esp + 0x20]
call fcn.00471100
mov byte [esp + 0xd8], 0x11
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x48895b
push 0x80004003
call fcn.0053d640
push 0
push edi
lea esi, [esp + 0x1c]
call fcn.00471100
mov byte [esp + 0xd8], 0x12
mov edi, dword [esp + 0x18]
test edi, edi
je 0x488bd1
cmp dword [esp + 0x14], 0
je 0x488bd1
lea edx, [ebx + 0x1cc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
lea esi, [eax + ecx]
mov eax, dword [ebx + 0x1fc]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x200]
push ecx
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [edi]
mov ecx, dword [edx + 0x44]
push 1
lea eax, [esp + 0x30]
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 + 0x250], 0
mov dword [esp + 0x28], esi
je 0x488ab3
push 0
push ecx
mov eax, esp
mov dword [eax], edi
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x44], esp
push edi
call edx
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 0x54]
push ecx
call fcn.004af6a0
mov byte [esp + 0xd8], 0x13
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x488a8e
lea esi, [esp + 0x10]
call fcn.00486950
lea edi, [ebx + 0x258]
mov byte [esp + 0xd8], 0x14
call fcn.00425450
mov ecx, esi
mov byte [esp + 0xd8], 0x13
call fcn.00425530
mov edx, dword [ebx + 0x254]
push edx
push ebx
call fcn.00489b00
mov byte [esp + 0xd8], 0x12
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x488ab3
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 + 0x44], 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 + 0x4c], esp
push esi
call edx
lea eax, [ebx + 0x54]
push edi
push eax
call fcn.004af6a0
mov edx, dword [esp + 0x18]
mov ecx, 3
call fcn.004a3180
mov eax, dword [ebx + 0x30]
add esp, 8
push 0
push ecx
mov dword [esp + 0x44], esp
mov edi, esp
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [esp + 0x4c], esp
push eax
mov dword [esp + 0x24], 3
call edx
push edi
lea eax, [ebx + 0x54]
push eax
call fcn.004af6a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
call fcn.004a3180
add esp, 8
lea eax, [esp + 0xa4]
push eax
call fcn.004c8990
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0xa8]
mov byte [esp + 0xdc], 0x15
call fcn.00473660
lea edx, [esp + 0x14]
push edx
call fcn.00473660
mov ecx, dword [ebx + 0x30]
mov eax, edi
push eax
push ecx
call fcn.00490950
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 + 0x44], esp
push esi
call eax
call fcn.0048c7e0
add esp, 8
push 1
push ecx
mov dword [esp + 0x44], 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.0048c7e0
add esp, 8
mov eax, edi
push eax
call fcn.00514d20
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0053d782
add esp, 4
mov edi, esi
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x14]
test eax, eax
je 0x488be9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xd8], 8
test edi, edi
je 0x488de3
mov ecx, dword [edi]
push edi
jmp 0x488dde
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x488c15
push 0x80004003
call fcn.0053d640
xor ecx, ecx
cmp dword [ebp + 0xc], 1
push 0
setne cl
lea esi, [esp + 0x20]
inc ecx
push ecx
call fcn.00471100
mov byte [esp + 0xd8], 0xe
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x488d67
cmp byte [ebx + 0x250], 0
je 0x488cd5
push 0
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [esp + 0x44], esp
push esi
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [ebx + 0x54]
push edx
call fcn.004af6a0
mov byte [esp + 0xd8], 0xf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x488cb0
lea esi, [esp + 0x10]
call fcn.00486950
lea edi, [ebx + 0x258]
mov byte [esp + 0xd8], 0x10
call fcn.00425450
mov ecx, esi
mov byte [esp + 0xd8], 0xf
call fcn.00425530
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 0x254]
push eax
push ebx
call fcn.00489b00
mov byte [esp + 0xd8], 0xe
mov eax, dword [esp + 0x18]
test eax, eax
je 0x488cd5
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 + 0x44], esp
mov edi, esp
push 0
push ecx
mov dword [esp + 0x78], eax
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x4c], esp
push esi
mov dword [esp + 0x24], 3
call edx
push edi
lea eax, [ebx + 0x54]
push eax
call fcn.004af6a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
call fcn.004a3180
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 + 0x44], esp
mov dword [ecx], eax
test eax, eax
je 0x488d91
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, edi
call fcn.0048c8f0
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 + 0x44], esp
mov dword [ecx], eax
test eax, eax
je 0x488dc5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.0048c8f0
add esp, 8
mov byte [esp + 0xd8], 8
test esi, esi
je 0x488de3
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 + 0x250], 0
je 0x488e0a
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 0x488e3a
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.00484f30
jmp 0x488e65
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 + 0x6c]
test eax, eax
je 0x488e7d
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 0x488e95
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 0x488eb0
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