Function at 0x524a0c
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.00525d14
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.00402840
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.005332e4
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 0x524c1d
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005333bc
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.0041df90
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 0x524b60
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.0041df90
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 0x524ca3
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.0041df90
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 0x524ca3
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 0x524d78
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.005333bc
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.0041df90
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 0x524d17
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.00521e9c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
cmp eax, dword [ebp - 0x38]
jge 0x524d5d
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 0x524f2d
inc edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005333bc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
jne 0x524dc0
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.005249e0
test al, al
je 0x524ef8
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.0041df90
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 0x524eb5
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 0x524eef
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 0x524f16
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 0x524f2d
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x524d9e
cmp dword [ebp - 0x2c], 0xffffffff
je 0x525021
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.0041df90
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.0041df90
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 0x5250d4
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 0x5250c0
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5250c9
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 0x525099
jmp 0x5250c9
mov eax, dword [ebp - 8]
inc dword [eax + 0x11c]
inc dword [ebp - 0xc]
dec dword [ebp - 0x90]
jne 0x525057
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0x114], 0x49
call fcn.00409344
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.00409344
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 0x525915
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 0x52577e
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x525906
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x41cbb4]
call fcn.00403c60
mov dword [ebp - 0x78], eax
mov dl, 1
mov eax, dword [0x41cbb4]
call fcn.00403c60
mov dword [ebp - 0x7c], eax
xor eax, eax
push ebp
push 0x525763
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.00533ae4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00533a80
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.0041f864
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
call fcn.0041f864
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x5252d7
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.0041f7b8
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.0041f7b8
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f66c
test al, al
je 0x5252d3
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x80], eax
inc ebx
dec esi
jne 0x525266
cmp dword [ebp - 0x80], 0
jge 0x5252e2
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 0x525325
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f66c
test al, al
jne 0x525321
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f66c
add dword [ebp - 0x88], eax
inc ebx
dec esi
jne 0x525303
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x5253fb
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.0041f66c
test al, al
jne 0x5253f3
cmp dword [ebp - 0x88], 0
jle 0x52537f
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f66c
imul dword [ebp - 0x80]
cdq
idiv dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
jmp 0x525387
xor eax, eax
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x8a], 0
je 0x5253e3
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x258]
cmp eax, dword [ebp - 0x84]
jle 0x5253f3
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.0041f7b8
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0x7c]
call fcn.0041f7b8
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f66c
sub dword [ebp - 0x80], eax
mov byte [ebp - 0x89], 1
jmp 0x5253fb
mov ecx, dword [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f7b8
inc ebx
dec esi
jne 0x525334
cmp byte [ebp - 0x8a], 0
je 0x52541d
cmp byte [ebp - 0x89], 0
jne 0x5252e9
mov byte [ebp - 0x8a], 0
jmp 0x5252e9
xor eax, eax
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x5c]
dec esi
test esi, esi
jl 0x525745
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 0x52545c
mov edx, ebx
mov eax, dword [ebp - 0x78]
call fcn.0041f66c
mov dword [ebp - 0x4c], eax
jmp 0x525465
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x14], 0
jne 0x525483
test ebx, ebx
jne 0x525483
cmp dword [ebp - 0x5c], 1
jle 0x525483
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.005337e8
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.0041df90
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.005249e0
test al, al
je 0x52573d
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 0x5255f1
cmp dword [ebp - 0x14], 0
je 0x5255f5
xor eax, eax
jmp 0x5255f7
mov al, 1
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x46], al
mov eax, dword [ebp - 0x5c]
dec eax
cmp ebx, eax
jne 0x525610
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
je 0x525614
xor eax, eax
jmp 0x525616
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 0x525672
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 0x525698
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 0x52573d
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1c]
jge 0x52573d
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.0041df90
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 0x525431
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52576a
mov eax, dword [ebp - 0x7c]
call fcn.00403c90
mov eax, dword [ebp - 0x78]
call fcn.00403c90
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.0041df90
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.005249e0
test al, al
je 0x525906
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 0x5258a5
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 0x5258cb
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 0x5258fd
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 0x525148
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.00409344
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 0x525a6d
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.00524214
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.00533cfc
mov dword [ebx + 6], eax
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00533ec8
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 0x525a1e
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.005341e0
test al, al
je 0x525a4b
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 0x525a52
mov dword [ebx + 0x17], 0xffffffff
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00527ed4
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 0x525a83
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x44]
jg 0x525980
mov eax, dword [ebp - 4]
call fcn.005332e4
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.00521e84
test al, al
je 0x525ac1
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.00521e84
test al, al
jne 0x525afc
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 0x525afc
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 0x525b75
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.0041df90
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 0x525ba8
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005333bc
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 0x525bb3
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x104], edx
mov eax, dword [ebp - 8]
add eax, 0xd0
call fcn.00521e84
test al, al
jne 0x525c10
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 0x525c10
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.00521e84
test al, al
je 0x525c2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x369]
mov dword [ebp - 0x4c], eax
jmp 0x525c34
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
add eax, 0xe0
call fcn.00521e84
test al, al
jne 0x525c83
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 0x525c83
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 0x525ca3
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 0x525cbd
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 0x525cd7
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 0x525cf1
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 0x525d0b
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