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

Disassembly:
push ebp
lea ebp, [esp - 0x20]
sub esp, 0xc4
push ebx
push esi
mov esi, dword [ebp + 0x30]
imul esi, esi, 0x104
mov ebx, ecx
add esi, dword [ebx + 0x20c4]
cmp dword [ebx + 0x1d4], 0
push edi
jne 0x529dc1
mov eax, dword [ebp + 0x2c]
cmp dword [ebp + 0x28], eax
jae 0x52a73a
sub eax, dword [ebp + 0x28]
mov edx, eax
xor ecx, ecx
cmp dword [ebx + 0xb0], ecx
jbe 0x529db9
and byte [esi], 0x17
xor eax, eax
lea edi, [esi + 0x38]
stosd dword es:[edi], eax
add esi, 0x104
inc ecx
stosw word es:[edi], ax
cmp ecx, dword [ebx + 0xb0]
jb 0x529d9f
dec edx
jne 0x529d95
jmp 0x52a73a
cmp dword [ebx + 0x1a8], 0
fild dword [ebx + 0x84]
fdivr dword [0x405da8]
je 0x529ddc
fmul dword [0x405da4]
push 0x7d
pop eax
sub eax, dword [ebx + 0x14c]
mov dword [ebp + 0x30], eax
fild dword [ebp + 0x30]
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
fmul st(1)
fmul dword [case.0x405cd2.0]
fstp dword [ebp - 0x4c]
fstp st(0)
jmp 0x52a731
and dword [ebp - 0x50], 0
cmp dword [ebx + 0xb0], 0
jbe 0x52a72b
cmp dword [esi + 0x54], 0
jne 0x52a6e1
mov edx, dword [ebp + 0x34]
xor ecx, ecx
cmp dword [ebx + 0x180], ecx
lea eax, [esi + 4]
mov dword [ebp - 0x5c], eax
lea eax, [esi + 0x78]
mov dword [ebp - 0x30], ecx
mov dword [ebp + 4], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp + 0x28], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], ecx
je 0x529e5c
mov ecx, dword [esi]
shr ecx, 8
and ecx, 3
jmp 0x529e62
mov ecx, dword [ebx + 0x3840]
mov edx, dword [ebx + ecx*4 + 0x3810]
mov ecx, dword [ebx + ecx*4 + 0x381c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x4c]
add ecx, 4
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp], ecx
lea ecx, [esi + 0xa4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x38]
sub ecx, dword [ebp + 0x40]
mov edi, dword [ebp + 0x44]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp + 0x48]
sub ecx, dword [ebp + 0x40]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp + 0x50]
sub ecx, dword [ebp + 0x40]
mov edx, eax
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x58]
sub ecx, dword [ebp + 0x40]
mov dword [ebp - 0x48], 0xffffff5c
mov dword [ebp - 0x98], ecx
mov ecx, esi
sub ecx, eax
add ecx, 0x4a
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0x3c]
sub ecx, edi
sub dword [ebp - 0x48], esi
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp + 0x54]
sub ecx, edi
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp + 0x4c]
sub ecx, edi
mov dword [ebp - 0x78], ecx
lea ecx, [esi + 0x7e]
mov dword [ebp - 0x54], ecx
sub dword [ebp - 0x54], eax
lea ecx, [esi + 0x84]
mov dword [ebp - 0x60], ecx
sub dword [ebp - 0x60], eax
lea ecx, [esi + 0x38]
mov dword [ebp + 0xc], ecx
sub dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x34]
push 6
mov dword [ebp - 0x90], eax
pop eax
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x94]
xor eax, eax
cmp byte [ecx + edx], al
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], eax
jne 0x52a491
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx], eax
je 0x529fe6
mov ecx, dword [ebx + 0x5fd8]
mov ecx, dword [ecx + 4]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
dec eax
dec eax
test eax, eax
mov dword [ebp - 0x64], 1
jle 0x529fc0
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x78]
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x18]
shl eax, 2
mov edx, dword [ecx + eax + 4]
mov eax, dword [ecx + eax]
push eax
push edx
mov ecx, ebx
call fcn.00573df1
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp + 0x1c], 2
dec eax
dec eax
cmp dword [ebp + 0x1c], eax
jl 0x529f8b
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0x78]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push eax
push ecx
mov ecx, ebx
call fcn.00573e8b
add dword [ebp - 0x20], eax
mov edx, dword [ebp + 0x10]
mov al, byte [edx]
test al, al
je 0x52a0fd
movsx eax, al
shl eax, 3
mov ecx, dword [eax + 0x52a9cc]
add dword [ebp + 4], ecx
test byte [edx], 2
mov ecx, dword [ebx + 0x5fd8]
mov eax, dword [ecx + eax + 4]
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x3c], eax
je 0x52a089
mov eax, dword [ebp]
mov eax, dword [eax]
and dword [ebp + 0x1c], 0
dec eax
dec eax
test eax, eax
jle 0x52a061
push dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x80]
push dword [ebp + 0x78]
mov eax, dword [ebp + 0x1c]
push dword [ebp - 0x18]
lea edx, [ecx + edi]
shl eax, 2
mov edx, dword [edx + eax + 4]
add ecx, edi
mov eax, dword [ecx + eax]
push eax
push edx
mov ecx, ebx
call fcn.00573df1
add dword [ebp + 0x30], eax
mov eax, dword [ebp]
mov eax, dword [eax]
add dword [ebp + 0x1c], 2
dec eax
dec eax
cmp dword [ebp + 0x1c], eax
jl 0x52a027
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x80]
push dword [ebp + 0x78]
lea eax, [eax + ecx*4]
push dword [ebp - 0x1c]
add eax, edi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push eax
push ecx
mov ecx, ebx
call fcn.00573e8b
add dword [ebp + 0x30], eax
mov edx, dword [ebp + 0x10]
test byte [edx], 1
je 0x52a0fd
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp]
and dword [ebp + 0x1c], 0
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
dec eax
dec eax
test eax, eax
jle 0x52a0da
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x78]
shl eax, 2
mov ecx, dword [edi + eax + 4]
push dword [ebp - 0x18]
mov eax, dword [edi + eax]
push eax
push ecx
mov ecx, ebx
call fcn.00573df1
add dword [ebp + 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp + 0x1c], 2
dec eax
dec eax
cmp dword [ebp + 0x1c], eax
jl 0x52a0a8
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x78]
lea eax, [edi + eax*4]
mov ecx, dword [eax + 4]
push dword [ebp - 0x1c]
mov eax, dword [eax]
push eax
push ecx
mov ecx, ebx
call fcn.00573e8b
add dword [ebp + 0x30], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x54]
add eax, edx
mov dword [ebp - 4], eax
mov al, byte [eax]
test al, al
je 0x52a23a
mov ecx, dword [ebx + 0x5fd8]
movsx eax, al
mov eax, dword [eax*8 + 0x52a9cc]
add dword [ebp - 0xc], eax
movsx eax, byte [edx]
mov eax, dword [ecx + eax*8 + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
test byte [eax], 2
mov dword [ebp - 0x6c], 1
je 0x52a1b6
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp]
and dword [ebp + 0x1c], 0
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
dec eax
dec eax
test eax, eax
jle 0x52a18e
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x78]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x18]
shl eax, 2
mov ecx, dword [ecx + eax]
add edx, edi
mov eax, dword [edx + eax]
push eax
push ecx
mov ecx, ebx
call fcn.00573df1
add dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add dword [ebp + 0x1c], 2
dec eax
dec eax
cmp dword [ebp + 0x1c], eax
jl 0x52a155
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x78]
push dword [ebp + 0x78]
lea eax, [eax + ecx*4]
push dword [ebp - 0x1c]
add eax, edi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push eax
push ecx
mov ecx, ebx
call fcn.00573e8b
add dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
test byte [eax], 1
je 0x52a23a
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp]
and dword [ebp + 0x1c], 0
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
dec eax
dec eax
test eax, eax
jle 0x52a212
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x78]
mov ecx, dword [ebp - 0x7c]
push dword [ebp - 0x18]
shl eax, 2
lea edx, [ecx + eax]
mov edx, dword [edx + edi + 4]
add ecx, eax
mov eax, dword [ecx + edi]
push eax
push edx
mov ecx, ebx
call fcn.00573df1
add dword [ebp + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp + 0x1c], 2
dec eax
dec eax
cmp dword [ebp + 0x1c], eax
jl 0x52a1d8
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x7c]
push dword [ebp + 0x78]
lea eax, [eax + ecx*4]
push dword [ebp - 0x1c]
add eax, edi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push eax
push ecx
mov ecx, ebx
call fcn.00573e8b
add dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x90]
add ecx, eax
mov eax, dword [ebp - 0x60]
add eax, edx
mov dword [ebp - 0x84], eax
mov al, byte [eax]
test al, al
mov dword [ebp + 0x1c], ecx
je 0x52a332
mov ecx, dword [ebx + 0x5fdc]
and dword [ebp - 4], 0
movsx eax, al
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x5fd8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 3
mov ecx, dword [ebp - 0x38]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebp - 0x84]
movsx ecx, byte [ecx]
test ecx, eax
je 0x52a31d
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x48]
and dword [ebp - 0x2c], 0
add eax, ecx
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x60]
lea eax, [ecx + eax*4]
mov dword [ebp + 8], eax
mov eax, dword [eax]
dec eax
dec eax
test eax, eax
jle 0x52a2f5
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x78]
mov ecx, dword [eax]
push dword [ebp - 0x18]
add eax, 4
mov edx, dword [eax]
push ecx
add eax, 4
push edx
mov ecx, ebx
mov dword [ebp + 0x1c], eax
call fcn.00573df1
add dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add dword [ebp - 0x2c], 2
dec eax
dec eax
cmp dword [ebp - 0x2c], eax
jl 0x52a2c0
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x78]
mov ecx, dword [eax]
push dword [ebp - 0x1c]
add eax, 4
mov edx, dword [eax]
push ecx
add eax, 4
push edx
mov ecx, ebx
mov dword [ebp + 0x1c], eax
call fcn.00573e8b
add dword [ebp + 0x14], eax
mov edx, dword [ebp + 0x10]
inc dword [ebp - 4]
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x24]
jg 0x52a28b
jmp 0x52a335
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0
jne 0x52a350
xor ecx, ecx
cmp dword [ebp + 0x30], ecx
jne 0x52a350
cmp dword [ebp + 0x18], ecx
jne 0x52a350
cmp dword [ebp + 0x14], ecx
je 0x52a449
mov ecx, dword [eax - 0x18]
sar ecx, 0xe
mov dword [ebp + 8], ecx
mov ecx, dword [eax]
fild dword [ebp + 8]
sar ecx, 0xe
mov dword [ebp + 8], ecx
fsqrt
mov ecx, dword [eax + 0x18]
sar ecx, 0xe
mov eax, dword [eax + 0x48]
sar eax, 0xe
fild dword [ebp + 8]
mov dword [ebp + 8], ecx
fsqrt
fsub st(1)
fmul dword [ebp - 0x4c]
fstp qword [ebp - 0x88]
fild dword [ebp + 8]
mov dword [ebp + 8], eax
fsqrt
fsub st(1)
fmul dword [ebp - 0x4c]
fstp qword [ebp - 8]
fild dword [ebp + 8]
fsqrt
fsub st(1)
fmul dword [ebp - 0x4c]
fstp st(1)
fld qword [ebp - 0x88]
fcomp qword [0x403bd8]
fld qword [ebp - 0x88]
fnstsw ax
test ah, 0x41
jne 0x52a3ca
fadd qword [0x403970]
call fcn.005d02c0
add dword [ebp + 0x30], eax
jmp 0x52a3de
fsub qword [0x403970]
call fcn.005d02c0
add dword [ebp + 0x30], eax
jns 0x52a3de
and dword [ebp + 0x30], 0
fld qword [ebp - 8]
fcomp qword [0x403bd8]
fld qword [ebp - 8]
fnstsw ax
test ah, 0x41
jne 0x52a401
fadd qword [0x403970]
call fcn.005d02c0
add dword [ebp + 0x18], eax
jmp 0x52a415
fsub qword [0x403970]
call fcn.005d02c0
add dword [ebp + 0x18], eax
jns 0x52a415
and dword [ebp + 0x18], 0
fcom qword [0x403bd8]
fnstsw ax
test ah, 0x41
jne 0x52a432
fadd qword [0x403970]
call fcn.005d02c0
add dword [ebp + 0x14], eax
jmp 0x52a446
fsub qword [0x403970]
call fcn.005d02c0
add dword [ebp + 0x14], eax
jns 0x52a446
and dword [ebp + 0x14], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
add dword [ebp + 4], eax
mov eax, dword [ebp + 0x18]
add dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
add dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x30]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
add dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
jg 0x52a49d
cmp dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
jg 0x52a4c0
cmp dword [ebp - 0x10], eax
jg 0x52a4d0
mov eax, dword [ebp + 0xc]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x10]
jmp 0x52a4d7
cmp eax, ecx
jge 0x52a4bd
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jg 0x52a4b1
mov ecx, dword [ebp + 0xc]
mov byte [ecx + edx], 1
jmp 0x52a4d7
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x28], ecx
mov byte [eax + edx], 4
jmp 0x52a4da
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jg 0x52a4d0
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x28], ecx
mov byte [eax + edx], 2
jmp 0x52a4da
mov ecx, dword [ebp + 0xc]
mov byte [ecx + edx], 4
add dword [ebp + 0x28], eax
add dword [ebp - 0x5c], 4
add dword [ebp - 0x28], 0x200
add dword [ebp], 4
add dword [ebp - 0x24], 4
mov eax, 0x100
add dword [ebp - 0x44], eax
add edi, eax
inc edx
dec dword [ebp - 0x70]
mov dword [ebp + 0x10], edx
jne 0x529f2b
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp - 0x30]
add dword [eax], ecx
mov eax, dword [ebp + 0x68]
mov edx, dword [ebp + 4]
add dword [eax], edx
mov eax, dword [ebp + 0x6c]
mov edi, dword [ebp - 0xc]
add dword [eax], edi
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x70]
add dword [eax], edx
cmp dword [ebp - 0x64], 0
je 0x52a536
mov eax, dword [ebx + 0x5fd4]
add ecx, dword [eax + 0x44]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x68], 0
je 0x52a573
xor eax, eax
cmp byte [esi + 0x78], al
jne 0x52a550
cmp eax, 6
jge 0x52a550
inc eax
cmp byte [eax + esi + 0x78], 0
je 0x52a543
movsx ecx, byte [eax + esi + 0x78]
mov edi, dword [ebx + 0x5fd4]
shl ecx, 3
mov edi, dword [edi + ecx + 0x44]
sub edi, dword [ecx + 0x52a9cc]
mov ecx, dword [ebp - 0x30]
add dword [ebp + 4], edi
mov edi, dword [ebp - 0xc]
jmp 0x52a579
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x6c], 0
je 0x52a5ad
jmp 0x52a587
cmp eax, 6
jge 0x52a58e
inc eax
cmp byte [eax + esi + 0x7e], 0
je 0x52a581
movsx eax, byte [eax + esi + 0x7e]
mov edi, dword [ebx + 0x5fd4]
shl eax, 3
mov edi, dword [edi + eax + 0x5c]
sub edi, dword [eax + 0x52a9cc]
mov eax, edi
mov edi, dword [ebp - 0xc]
add edi, eax
cmp dword [ebp - 0x74], 0
je 0x52a5bc
mov eax, dword [ebx + 0x5fd4]
add edx, dword [eax + 0x7c]
mov eax, dword [ebp + 4]
cmp ecx, eax
jg 0x52a5da
cmp ecx, edi
jg 0x52a5d2
cmp ecx, edx
jg 0x52a5fe
and byte [esi], 0x1f
mov edx, ecx
jmp 0x52a606
cmp edi, edx
mov eax, dword [esi]
jg 0x52a600
jmp 0x52a5f6
cmp eax, edi
jge 0x52a5f0
cmp eax, edx
jg 0x52a5fe
mov ecx, dword [esi]
and cl, 0x3f
mov edx, eax
or ecx, 0x20
mov dword [esi], ecx
jmp 0x52a606
cmp edi, edx
jg 0x52a5fe
mov eax, dword [esi]
and al, 0x5f
or al, 0x40
mov edx, edi
jmp 0x52a604
mov eax, dword [esi]
and al, 0x9f
or al, 0x80
mov dword [esi], eax
lea ecx, [esi + 4]
xor eax, eax
mov edi, ecx
mov cl, byte [eax + esi + 0x38]
test cl, cl
jne 0x52a62b
cmp dword [edi], 0
je 0x52a68c
mov eax, dword [ebx + 0x5fd4]
mov eax, dword [eax + 4]
add dword [ebp + 0x28], eax
jmp 0x52a6b0
cmp cl, 1
jne 0x52a655
cmp byte [eax + esi + 0x78], 0
je 0x52a68c
movsx eax, byte [eax + esi + 0x78]
mov edi, dword [ebx + 0x5fd4]
mov ecx, dword [ebx + 0x5fd8]
shl eax, 3
mov edi, dword [edi + eax + 4]
sub edi, dword [ecx + eax + 4]
jmp 0x52a67d
cmp cl, 2
jne 0x52a682
cmp byte [eax + esi + 0x7e], 0
je 0x52a68c
movsx eax, byte [eax + esi + 0x7e]
mov edi, dword [ebx + 0x5fd4]
mov ecx, dword [ebx + 0x5fd8]
shl eax, 3
mov edi, dword [edi + eax + 0x1c]
sub edi, dword [ecx + eax + 0x1c]
add dword [ebp + 0x28], edi
jmp 0x52a6b0
cmp byte [eax + esi + 0x84], 0
jne 0x52a69b
inc eax
add edi, 4
cmp eax, 6
jl 0x52a60d
jmp 0x52a6b0
mov ecx, dword [ebx + 0x5fd4]
mov eax, dword [ebx + 0x5fd8]
mov ecx, dword [ecx + 0x3c]
sub ecx, dword [eax + 0x3c]
add dword [ebp + 0x28], ecx
mov ecx, dword [ebp + 0x28]
cmp edx, ecx
jg 0x52a6d5
mov eax, dword [ebp + 0x74]
and dword [esi], 0xfffffff7
add dword [eax], edx
xor eax, eax
mov ecx, dword [esi]
shr ecx, 5
and cl, 7
mov byte [eax + esi + 0x38], cl
inc eax
cmp eax, 5
jle 0x52a6c1
jmp 0x52a6e1
or dword [esi], 8
test ecx, ecx
je 0x52a6e1
mov eax, dword [ebp + 0x74]
add dword [eax], ecx
add dword [ebp + 0x60], 0x60
mov eax, 0x600
add dword [ebp + 0x3c], eax
add dword [ebp + 0x44], eax
add dword [ebp + 0x4c], eax
add dword [ebp + 0x54], eax
push 0x18
pop eax
add dword [ebp + 0x38], eax
add dword [ebp + 0x40], eax
add dword [ebp + 0x48], eax
add dword [ebp + 0x50], eax
add dword [ebp + 0x58], eax
mov ecx, 0xc00
add dword [ebp + 0x34], ecx
add dword [ebp + 0x5c], ecx
add esi, 0x104
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebx + 0xb0]
jb 0x529e14
inc dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp + 0x2c]
jb 0x529e03
pop edi
pop esi
pop ebx
add ebp, 0x20
leave
ret 0x58