Function at 0x5eb338
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.005ec640
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20c]
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.00402820
mov edx, dword [ebp - 8]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x210]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x214]
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.005f9c10
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 0x5eb549
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005f9ce8
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x224]
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.0041e058
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 0x5eb48c
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.0041e058
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 0x5eb5cf
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.0041e058
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 0x5eb5cf
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 0x5eb6a4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.005f9ce8
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.0041e058
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 0x5eb643
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.005e87c8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
cmp eax, dword [ebp - 0x38]
jge 0x5eb689
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 0x5eb859
inc edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005f9ce8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
jne 0x5eb6ec
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x224]
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.005eb30c
test al, al
je 0x5eb824
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.0041e058
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 0x5eb7e1
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 0x5eb81b
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 0x5eb842
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 0x5eb859
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x5eb6ca
cmp dword [ebp - 0x2c], 0xffffffff
je 0x5eb94d
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.0041e058
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.0041e058
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 0x5eba00
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 + 0x25c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x5eb9ec
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5eb9f5
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 + 0x244]
mov edx, dword [ebp - 8]
add dword [edx + 0x114], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x98]
jne 0x5eb9c5
jmp 0x5eb9f5
mov eax, dword [ebp - 8]
inc dword [eax + 0x11c]
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x5eb983
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0x114], 0x49
call fcn.004091a8
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.004091a8
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 + 0x3f8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10c]
dec eax
test eax, eax
jl 0x5ec241
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 + 0x25c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x5ec0aa
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5ec232
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x41cd24]
call fcn.0040393c
mov dword [ebp - 0x78], eax
mov dl, 1
mov eax, dword [0x41cd24]
call fcn.0040393c
mov dword [ebp - 0x7c], eax
xor eax, eax
push ebp
push 0x5ec08f
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 + 0x224]
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.005fa410
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005fa3ac
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 + 0x244]
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.0041f958
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
call fcn.0041f958
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x5ebc03
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 + 0x234]
mov edi, eax
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x274]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f880
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3a8]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f880
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f734
test al, al
je 0x5ebbff
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x80], eax
inc ebx
dec esi
jne 0x5ebb92
cmp dword [ebp - 0x80], 0
jge 0x5ebc0e
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 0x5ebc51
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f734
test al, al
jne 0x5ebc4d
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f734
add dword [ebp - 0x88], eax
inc ebx
dec esi
jne 0x5ebc2f
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x5ebd27
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 + 0x234]
mov edi, eax
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f734
test al, al
jne 0x5ebd1f
cmp dword [ebp - 0x88], 0
jle 0x5ebcab
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f734
imul dword [ebp - 0x80]
cdq
idiv dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
jmp 0x5ebcb3
xor eax, eax
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x8a], 0
je 0x5ebd0f
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x258]
cmp eax, dword [ebp - 0x84]
jle 0x5ebd1f
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x258]
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f880
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f880
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f734
sub dword [ebp - 0x80], eax
mov byte [ebp - 0x89], 1
jmp 0x5ebd27
mov ecx, dword [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f880
inc ebx
dec esi
jne 0x5ebc60
cmp byte [ebp - 0x8a], 0
je 0x5ebd49
cmp byte [ebp - 0x89], 0
jne 0x5ebc15
mov byte [ebp - 0x8a], 0
jmp 0x5ebc15
xor eax, eax
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x5ec071
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 + 0x234]
mov edi, eax
mov eax, dword [ebp - 0x5c]
dec eax
cmp ebx, eax
je 0x5ebd88
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f734
mov dword [ebp - 0x4c], eax
jmp 0x5ebd91
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x14], 0
jne 0x5ebdaf
test ebx, ebx
jne 0x5ebdaf
cmp dword [ebp - 0x5c], 1
jle 0x5ebdaf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x224]
add dword [ebp - 0x4c], eax
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005fa114
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.0041e058
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.005eb30c
test al, al
je 0x5ec069
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 + 0x294]
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 0x5ebf1d
cmp dword [ebp - 0x14], 0
je 0x5ebf21
xor eax, eax
jmp 0x5ebf23
mov al, 1
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x46], al
mov eax, dword [ebp - 0x5c]
dec eax
cmp ebx, eax
jne 0x5ebf3c
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
je 0x5ebf40
xor eax, eax
jmp 0x5ebf42
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 0x5ebf9e
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 0x5ebfc4
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 0x5ec069
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1c]
jge 0x5ec069
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.0041e058
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 0x5ebd5d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec096
mov eax, dword [ebp - 0x7c]
call fcn.0040396c
mov eax, dword [ebp - 0x78]
call fcn.0040396c
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.0041e058
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.005eb30c
test al, al
je 0x5ec232
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 0x5ec1d1
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 0x5ec1f7
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 0x5ec229
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 0x5eba74
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.004091a8
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 0x5ec399
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 + 0x2d0]
mov byte [ebx + 4], al
mov eax, esi
call fcn.005eab40
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.005fa628
mov dword [ebx + 6], eax
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005fa7f4
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 + 0x2a8]
mov byte [ebx + 0x12], al
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x36c]
test al, al
je 0x5ec34a
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c4]
mov dword [ebx + 0x13], eax
mov eax, dword [ebp - 4]
call fcn.005fab0c
test al, al
je 0x5ec377
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 + 0x2ac]
mov dword [ebx + 0x17], eax
jmp 0x5ec37e
mov dword [ebx + 0x17], 0xffffffff
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005ee800
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 0x5ec3af
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x44]
jg 0x5ec2ac
mov eax, dword [ebp - 4]
call fcn.005f9c10
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.005e87b0
test al, al
je 0x5ec3ed
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.005e87b0
test al, al
jne 0x5ec428
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 0x5ec428
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 0x5ec4a1
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.0041e058
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 + 0x20c]
test eax, eax
jle 0x5ec4d4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005f9ce8
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x224]
add ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x104], ebx
jmp 0x5ec4df
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x104], edx
mov eax, dword [ebp - 8]
add eax, 0xd0
call fcn.005e87b0
test al, al
jne 0x5ec53c
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 0x5ec53c
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.005e87b0
test al, al
je 0x5ec55b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x369]
mov dword [ebp - 0x4c], eax
jmp 0x5ec560
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
add eax, 0xe0
call fcn.005e87b0
test al, al
jne 0x5ec5af
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 0x5ec5af
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 0x5ec5cf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c8]
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 0x5ec5e9
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 0x5ec603
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 0x5ec61d
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 0x5ec637
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