Function at 0x4d5850
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.004d6b58
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.00402818
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.004e4274
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 0x4d5a61
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004e434c
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.0041d6e4
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 0x4d59a4
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.0041d6e4
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 0x4d5ae7
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.0041d6e4
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 0x4d5ae7
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 0x4d5bbc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004e434c
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.0041d6e4
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 0x4d5b5b
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.004d2bb8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
cmp eax, dword [ebp - 0x38]
jge 0x4d5ba1
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 0x4d5d71
inc edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004e434c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
jne 0x4d5c04
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.004d5824
test al, al
je 0x4d5d3c
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.0041d6e4
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 0x4d5cf9
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 0x4d5d33
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 0x4d5d5a
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 0x4d5d71
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x4d5be2
cmp dword [ebp - 0x2c], 0xffffffff
je 0x4d5e65
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.0041d6e4
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.0041d6e4
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 0x4d5f18
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 0x4d5f04
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x4d5f0d
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 0x4d5edd
jmp 0x4d5f0d
mov eax, dword [ebp - 8]
inc dword [eax + 0x11c]
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x4d5e9b
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0x114], 0x49
call fcn.004094c8
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.004094c8
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 0x4d6759
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 0x4d65c2
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x4d674a
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x41c27c]
call fcn.00403cc8
mov dword [ebp - 0x78], eax
mov dl, 1
mov eax, dword [0x41c27c]
call fcn.00403cc8
mov dword [ebp - 0x7c], eax
xor eax, eax
push ebp
push 0x4d65a7
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.004e4a74
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004e4a10
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.0041f064
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
call fcn.0041f064
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x4d611b
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.0041efb4
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.0041efb4
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041ee68
test al, al
je 0x4d6117
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x80], eax
inc ebx
dec esi
jne 0x4d60aa
cmp dword [ebp - 0x80], 0
jge 0x4d6126
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 0x4d6169
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041ee68
test al, al
jne 0x4d6165
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ee68
add dword [ebp - 0x88], eax
inc ebx
dec esi
jne 0x4d6147
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x4d623f
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.0041ee68
test al, al
jne 0x4d6237
cmp dword [ebp - 0x88], 0
jle 0x4d61c3
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ee68
imul dword [ebp - 0x80]
cdq
idiv dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
jmp 0x4d61cb
xor eax, eax
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x8a], 0
je 0x4d6227
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x254]
cmp eax, dword [ebp - 0x84]
jle 0x4d6237
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.0041efb4
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041efb4
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ee68
sub dword [ebp - 0x80], eax
mov byte [ebp - 0x89], 1
jmp 0x4d623f
mov ecx, dword [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041efb4
inc ebx
dec esi
jne 0x4d6178
cmp byte [ebp - 0x8a], 0
je 0x4d6261
cmp byte [ebp - 0x89], 0
jne 0x4d612d
mov byte [ebp - 0x8a], 0
jmp 0x4d612d
xor eax, eax
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x4d6589
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 0x4d62a0
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041ee68
mov dword [ebp - 0x4c], eax
jmp 0x4d62a9
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x14], 0
jne 0x4d62c7
test ebx, ebx
jne 0x4d62c7
cmp dword [ebp - 0x5c], 1
jle 0x4d62c7
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.004e4778
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.0041d6e4
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.004d5824
test al, al
je 0x4d6581
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 0x4d6435
cmp dword [ebp - 0x14], 0
je 0x4d6439
xor eax, eax
jmp 0x4d643b
mov al, 1
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x46], al
mov eax, dword [ebp - 0x5c]
dec eax
cmp ebx, eax
jne 0x4d6454
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
je 0x4d6458
xor eax, eax
jmp 0x4d645a
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 0x4d64b6
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 0x4d64dc
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 0x4d6581
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1c]
jge 0x4d6581
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.0041d6e4
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 0x4d6275
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d65ae
mov eax, dword [ebp - 0x7c]
call fcn.00403cf8
mov eax, dword [ebp - 0x78]
call fcn.00403cf8
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.0041d6e4
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.004d5824
test al, al
je 0x4d674a
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 0x4d66e9
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 0x4d670f
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 0x4d6741
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 0x4d5f8c
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.004094c8
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 0x4d68b1
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.004d4fd8
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.004e4c8c
mov dword [ebx + 6], eax
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004e4e58
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 0x4d6862
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.004e5170
test al, al
je 0x4d688f
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 0x4d6896
mov dword [ebx + 0x17], 0xffffffff
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004d8e00
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 0x4d68c7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x44]
jg 0x4d67c4
mov eax, dword [ebp - 4]
call fcn.004e4274
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.004d2ba0
test al, al
je 0x4d6905
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.004d2ba0
test al, al
jne 0x4d6940
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 0x4d6940
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 0x4d69b9
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.0041d6e4
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 0x4d69ec
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004e434c
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 0x4d69f7
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x104], edx
mov eax, dword [ebp - 8]
add eax, 0xd0
call fcn.004d2ba0
test al, al
jne 0x4d6a54
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 0x4d6a54
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.004d2ba0
test al, al
je 0x4d6a73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x369]
mov dword [ebp - 0x4c], eax
jmp 0x4d6a78
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
add eax, 0xe0
call fcn.004d2ba0
test al, al
jne 0x4d6ac7
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 0x4d6ac7
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 0x4d6ae7
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 0x4d6b01
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 0x4d6b1b
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 0x4d6b35
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 0x4d6b4f
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