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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00488c44
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x208]
mov edx, dword [ebp - 8]
mov dword [edx + 0x10c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
shl eax, 2
lea eax, [eax + eax*8]
call fcn.00402734
mov edx, dword [ebp - 8]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x210]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
dec eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10c], edx
mov eax, dword [ebp - 4]
call fcn.0049614c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xf0], 0xffffffff
mov eax, dword [ebp - 8]
mov dword [eax + 0xf4], 0xffffffff
mov eax, dword [ebp - 8]
mov dword [eax + 0xf8], 0xffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x487b4d
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00496224
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x220]
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x84]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x20]
add ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
call fcn.004196dc
mov eax, dword [ebp - 8]
lea esi, [ebp - 0xd4]
lea edi, [eax + 0xd0]
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 [ebp - 4]
cmp dword [eax + 0x2bb], 0
jle 0x487a90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2bf]
mov edx, dword [ebp - 8]
sub dword [edx + 0xdc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xd8]
mov eax, dword [ebp - 4]
sub ecx, dword [eax + 0x2c3]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
call fcn.004196dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea esi, [ebp - 0xd4]
lea edi, [edx + eax*4 + 4]
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 [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10c]
lea ecx, [ecx + ecx*8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x110]
lea esi, [edx + eax*4 + 4]
lea edi, [ebx + ecx*4 + 0x14]
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 [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xf0], edx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 8]
inc dword [eax + 0x10c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x20]
cmp eax, dword [ebp - 0x40]
jle 0x487bd3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0x40]
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
call fcn.004196dc
mov eax, dword [ebp - 8]
lea esi, [ebp - 0xd4]
lea edi, [eax + 0x90]
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 [ebp - 8]
add eax, 0x70
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
jne 0x487bd3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x487ca8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00496224
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x84]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x28]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
sub eax, dword [ebp - 0x3c]
call fcn.004196dc
mov eax, dword [ebp - 8]
lea esi, [ebp - 0xd4]
lea edi, [eax + 0xe0]
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 [ebp - 4]
cmp dword [eax + 0x2bb], 0
jle 0x487c47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2bf]
mov edx, dword [ebp - 8]
sub dword [edx + 0xec], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xd8]
call fcn.004850d0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
cmp eax, dword [ebp - 0x38]
jge 0x487c8d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xe0], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
add eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0xf4], edx
dec dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x369]
neg eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub edx, eax
jl 0x487e5d
inc edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00496224
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
jne 0x487cf0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x220]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x3c]
xor ecx, ecx
mov eax, dword [ebp - 0x38]
call fcn.00487910
test al, al
je 0x487e28
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x38]
call fcn.004196dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea esi, [ebp - 0xd4]
lea edi, [edx + eax*4 + 4]
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 [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10c]
lea ecx, [ecx + ecx*8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x110]
lea esi, [edx + eax*4 + 4]
lea edi, [ebx + ecx*4 + 0x14]
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 [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov eax, dword [edx + eax*4 + 0x14]
cmp eax, dword [ebp - 0x30]
jge 0x487de5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov ecx, dword [ebp - 0x30]
mov dword [edx + eax*4 + 0x14], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov eax, dword [edx + eax*4 + 0x1c]
cmp eax, dword [ebp - 0x34]
jle 0x487e1f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov ecx, dword [ebp - 0x34]
mov dword [edx + eax*4 + 0x1c], ecx
mov eax, dword [ebp - 8]
inc dword [eax + 0x10c]
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf4], 0xffffffff
je 0x487e46
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xf8], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
jg 0x487e5d
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x487cce
cmp dword [ebp - 0x2c], 0xffffffff
je 0x487f51
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x2c3]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xe8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
call fcn.004196dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea esi, [ebp - 0xd4]
lea edi, [edx + eax*4 + 4]
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 [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea eax, [edx + eax*4 + 4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x28]
mov eax, dword [ebp - 0x94]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
call fcn.004196dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea esi, [ebp - 0xd4]
lea edi, [edx + eax*4 + 0x14]
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 [ebp - 8]
inc dword [eax + 0x10c]
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x114], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x11c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
dec eax
test eax, eax
jl 0x488004
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x258]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x487ff0
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x487ff9
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x240]
mov edx, dword [ebp - 8]
add dword [edx + 0x114], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x98]
jne 0x487fc9
jmp 0x487ff9
mov eax, dword [ebp - 8]
inc dword [eax + 0x11c]
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x487f87
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0x114], 0x49
call fcn.004088c0
mov edx, dword [ebp - 8]
mov dword [edx + 0x118], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x114], edx
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0x11c], 0x15
call fcn.004088c0
mov edx, dword [ebp - 8]
mov dword [edx + 0x120], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x11c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3f4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
dec eax
test eax, eax
jl 0x488845
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x258]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4886ae
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x488836
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x4185a4]
call fcn.0040399c
mov dword [ebp - 0x78], eax
mov dl, 1
mov eax, dword [0x4185a4]
call fcn.0040399c
mov dword [ebp - 0x7c], eax
xor eax, eax
push ebp
push 0x488693
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov eax, dword [edx + eax*4 + 0xc]
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x110]
sub eax, dword [ecx + edx*4 + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x220]
cmp dword [ebp - 0x14], 0
sete dl
and edx, 0xff
imul edx
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049694c
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004968e8
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x240]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x78]
call fcn.0041af2c
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
call fcn.0041af2c
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x488207
inc esi
xor ebx, ebx
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x230]
mov edi, eax
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x270]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ae7c
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3a4]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041ae7c
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041ad30
test al, al
je 0x488203
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x80], eax
inc ebx
dec esi
jne 0x488196
cmp dword [ebp - 0x80], 0
jge 0x488212
xor eax, eax
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x8a], 1
mov byte [ebp - 0x89], 0
xor eax, eax
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x488255
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041ad30
test al, al
jne 0x488251
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ad30
add dword [ebp - 0x88], eax
inc ebx
dec esi
jne 0x488233
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x48832b
inc esi
xor ebx, ebx
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x230]
mov edi, eax
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041ad30
test al, al
jne 0x488323
cmp dword [ebp - 0x88], 0
jle 0x4882af
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ad30
imul dword [ebp - 0x80]
cdq
idiv dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
jmp 0x4882b7
xor eax, eax
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x8a], 0
je 0x488313
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x254]
cmp eax, dword [ebp - 0x84]
jle 0x488323
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x254]
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ae7c
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041ae7c
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ad30
sub dword [ebp - 0x80], eax
mov byte [ebp - 0x89], 1
jmp 0x48832b
mov ecx, dword [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ae7c
inc ebx
dec esi
jne 0x488264
cmp byte [ebp - 0x8a], 0
je 0x48834d
cmp byte [ebp - 0x89], 0
jne 0x488219
mov byte [ebp - 0x8a], 0
jmp 0x488219
xor eax, eax
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x488675
inc esi
xor ebx, ebx
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x230]
mov edi, eax
mov eax, dword [ebp - 0x5c]
dec eax
cmp ebx, eax
je 0x48838c
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ad30
mov dword [ebp - 0x4c], eax
jmp 0x488395
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x14], 0
jne 0x4883b3
test ebx, ebx
jne 0x4883b3
cmp dword [ebp - 0x5c], 1
jle 0x4883b3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x220]
add dword [ebp - 0x4c], eax
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00496650
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b7]
imul dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea eax, [edx + eax*4 + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2b7]
imul edx, dword [ebp - 0x10]
add eax, edx
add eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b7]
imul eax, dword [ebp - 0x10]
add edx, eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
add eax, dword [ebp - 0x54]
call fcn.004196dc
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea eax, [edx + eax*4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xc4]
call fcn.00487910
test al, al
je 0x48866d
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0x114], 0x49
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x118]
lea eax, [edx + eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0xc], ebx
mov eax, dword [ebp - 0xa4]
mov dword [eax], edi
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x10], edx
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x290]
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x48], al
test ebx, ebx
sete al
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x44], al
mov eax, dword [ebp - 0x5c]
dec eax
cmp ebx, eax
sete al
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x45], al
test ebx, ebx
jne 0x488521
cmp dword [ebp - 0x14], 0
je 0x488525
xor eax, eax
jmp 0x488527
mov al, 1
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x46], al
mov eax, dword [ebp - 0x5c]
dec eax
cmp ebx, eax
jne 0x488540
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
je 0x488544
xor eax, eax
jmp 0x488546
mov al, 1
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x47], al
mov eax, dword [ebp - 0xa4]
push esi
lea edi, [eax + 0x14]
lea esi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa4]
push esi
lea esi, [eax + 0x14]
lea edi, [edx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0xa4]
cmp eax, dword [edx + 0x2c]
jge 0x4885a2
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xa4]
cmp eax, dword [edx + 0x24]
jle 0x4885c8
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
inc dword [eax + 0x114]
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, dword [ebp - 0x10]
jne 0x48866d
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1c]
jge 0x48866d
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea eax, [edx + eax*4 + 4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2b7]
imul edx, dword [ebp - 0x1c]
add eax, edx
push eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2b7]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x48]
imul edx, eax
mov eax, dword [ebp - 0xa8]
add edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0x24]
call fcn.004196dc
mov eax, dword [ebp - 0xa4]
push esi
lea esi, [ebp - 0xd4]
lea edi, [eax + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
inc ebx
dec esi
jne 0x488361
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48869a
mov eax, dword [ebp - 0x7c]
call fcn.004039cc
mov eax, dword [ebp - 0x78]
call fcn.004039cc
ret
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov eax, dword [edx + eax*4 + 0xc]
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x110]
sub eax, dword [ecx + edx*4 + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea eax, [edx + eax*4 + 4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2b7]
imul edx, dword [ebp - 0x1c]
add eax, edx
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xac]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
call fcn.004196dc
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
lea eax, [edx + eax*4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xc4]
call fcn.00487910
test al, al
je 0x488836
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0x11c], 0x15
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x120]
lea eax, [edx + eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0xb4]
lea edi, [eax + 4]
lea esi, [ebp - 0xc4]
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 [ebp - 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0xb4]
cmp eax, dword [edx + 0xc]
jge 0x4887d5
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0xb4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xb4]
cmp eax, dword [edx + 4]
jle 0x4887fb
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xb4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x110]
mov eax, dword [edx + eax*4 + 0xc]
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x110]
cmp eax, dword [ecx + edx*4 + 0x1c]
jle 0x48882d
mov eax, dword [ebp - 0xb4]
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 8]
inc dword [eax + 0x11c]
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x488078
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x84]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2cb]
cdq
idiv ecx
inc eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x124], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x124]
mov edx, eax
shl eax, 5
sub eax, edx
call fcn.004088c0
mov edx, dword [ebp - 8]
mov dword [edx + 0x128], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x124], edx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x39d]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x44], eax
jmp 0x48899d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x124]
mov edx, eax
shl eax, 5
sub eax, edx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x128]
lea ebx, [edx + eax]
mov dword [ebx], esi
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2cc]
mov byte [ebx + 4], al
mov eax, esi
call fcn.004870c4
mov byte [ebx + 5], al
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2cb]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00496b64
mov dword [ebx + 6], eax
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00496d30
mov dword [ebx + 0xa], eax
mov eax, dword [ebx + 0xa]
mov edx, dword [ebp - 4]
imul dword [edx + 0x2f0]
mov dword [ebx + 0xe], eax
mov cl, byte [ebx + 5]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x2a4]
mov byte [ebx + 0x12], al
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x368]
test al, al
je 0x48894e
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c0]
mov dword [ebx + 0x13], eax
mov eax, dword [ebp - 4]
call fcn.00497048
test al, al
je 0x48897b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cb]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x2a8]
mov dword [ebx + 0x17], eax
jmp 0x488982
mov dword [ebx + 0x17], 0xffffffff
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0048adc0
mov esi, eax
mov eax, dword [ebx + 6]
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
inc dword [eax + 0x124]
test esi, esi
je 0x4889b3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x44]
jg 0x4888b0
mov eax, dword [ebp - 4]
call fcn.0049614c
mov edx, dword [ebp - 8]
add eax, dword [edx + 0x80]
dec eax
mov edx, dword [ebp - 8]
mov dword [edx + 0xfc], eax
mov eax, dword [ebp - 8]
add eax, 0xd0
call fcn.004850b8
test al, al
je 0x4889f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x369]
mov edx, dword [ebp - 8]
sub dword [edx + 0xfc], eax
mov eax, dword [ebp - 8]
add eax, 0xe0
call fcn.004850b8
test al, al
jne 0x488a2c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xfc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x88]
dec edx
cmp eax, edx
jle 0x488a2c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x88]
dec eax
mov edx, dword [ebp - 8]
mov dword [edx + 0xfc], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x44]
jle 0x488aa5
mov eax, dword [ebp - 0x44]
dec eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x100], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xfc]
inc ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x100]
inc edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004196dc
mov eax, dword [ebp - 8]
lea esi, [ebp - 0xd4]
lea edi, [eax + 0xa0]
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 [ebp - 8]
mov eax, dword [eax + 0xa4]
mov edx, dword [ebp - 8]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x208]
test eax, eax
jle 0x488ad8
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00496224
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x220]
add ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x104], ebx
jmp 0x488ae3
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x104], edx
mov eax, dword [ebp - 8]
add eax, 0xd0
call fcn.004850b8
test al, al
jne 0x488b40
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 8]
add eax, dword [edx + 0x104]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xd8]
mov ecx, dword [ebp - 4]
sub edx, dword [ecx + 0x2c3]
cmp eax, edx
jle 0x488b40
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xd8]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x2c3]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x80]
mov edx, dword [ebp - 8]
mov dword [edx + 0x104], eax
mov eax, dword [ebp - 8]
add eax, 0xd0
call fcn.004850b8
test al, al
je 0x488b5f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x369]
mov dword [ebp - 0x4c], eax
jmp 0x488b64
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
add eax, 0xe0
call fcn.004850b8
test al, al
jne 0x488bb3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 8]
add eax, dword [edx + 0x104]
sub eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0xe0]
jle 0x488bb3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x80]
add eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x104], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28e], 0
je 0x488bd3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c4]
mov edx, dword [ebp - 8]
mov dword [edx + 0x108], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x2c]
jne 0x488bed
mov eax, dword [ebp - 8]
add eax, 0x20
push eax
call sub.user32.dll_SetRectEmpty
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x3c]
jne 0x488c07
mov eax, dword [ebp - 8]
add eax, 0x30
push eax
call sub.user32.dll_SetRectEmpty
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x4c]
jne 0x488c21
mov eax, dword [ebp - 8]
add eax, 0x40
push eax
call sub.user32.dll_SetRectEmpty
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x5c]
jne 0x488c3b
mov eax, dword [ebp - 8]
add eax, 0x50
push eax
call sub.user32.dll_SetRectEmpty
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret