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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx + 0x68]
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x10]
and eax, 0xffffc000
cdq
mov ecx, dword [ebx + 0x6c]
and edx, 0x3fff
add eax, edx
sar eax, 0xe
mov dword [esp + 0x94], eax
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebx + 0x18]
lea eax, [ecx - 1]
or eax, 0x3fff
inc eax
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0x14]
and eax, 0xffffc000
cdq
and edx, 0x3fff
add eax, edx
mov esi, eax
mov edi, dword [ebx + 0x1c]
lea eax, [edi - 1]
or eax, 0x3fff
sar esi, 0xe
inc eax
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x94]
sar eax, 0xe
mov dword [esp + 0xc4], eax
lea eax, [edx + 1]
mov edx, dword [ebx + 0x10]
shl eax, 0xe
sub eax, edx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x84]
shl eax, 0xe
sub ecx, eax
add ecx, 0x4000
mov dword [esp + 0xe0], ecx
mov ecx, dword [ebx + 0x14]
lea eax, [esi + 1]
shl eax, 0xe
sub eax, ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa4]
imul dword [esp + 0xb4]
push 0
shl ecx, 0xe
push 0x4000
sub edi, ecx
push edx
add edi, 0x4000
push eax
mov dword [esp + 0xec], edi
call fcn.005c4520
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xc4]
fild qword [esp + 0xa8]
mov edx, eax
sub edx, esi
cmp edx, 2
fdivr qword [0x5d6138]
fstp qword [esp + 0xa8]
jge 0x53f098
mov ecx, dword [ebx + 0x1c]
sub ecx, dword [ebx + 0x14]
jmp 0x53f09f
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x84]
sub edx, dword [esp + 0x94]
cmp edx, 2
jge 0x53f0bf
mov edx, dword [ebx + 0x18]
sub edx, dword [ebx + 0x10]
mov dword [esp + 0xcc], edx
cmp esi, eax
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0xbc], esi
jge 0x53fc32
lea esp, [esp]
mov eax, dword [ebx + 8]
imul eax, dword [esp + 0xbc]
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
mov edi, dword [ebx + 0x40]
add eax, esi
shl ecx, 2
add eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x78], edi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
imul dword [esp + 0xa4]
shrd eax, edx, 0xe
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
and eax, 0xffffc000
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x6c]
mov ecx, eax
mov eax, dword [esp + 0x48]
lea eax, [edx + eax - 1]
or eax, 0x3fff
sar ecx, 0xe
inc eax
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x48]
mov esi, eax
lea eax, [ecx + 1]
shl eax, 0xe
sub eax, edx
sar esi, 0xe
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov edx, esi
shl edx, 0xe
sub eax, edx
mov edx, dword [esp + 0x48]
lea eax, [eax + edx + 0x4000]
mov dword [esp + 0x70], eax
mov eax, esi
sub eax, ecx
cmp eax, 2
mov dword [esp + 0x74], ecx
mov dword [esp + 0xc8], eax
jge 0x53f1a2
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], ecx
push 0
push 0
call dword [0x5d2604]
push 0x300
push 0
mov dword [esp + 0x100], eax
call dword [0x5d2604]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
add esp, 0x10
cmp eax, ecx
mov dword [esp + 0x90], eax
jge 0x53fbb0
dec esi
mov dword [esp + 0x5c], esi
jmp 0x53f1f0
mov edi, dword [esp + 0x78]
jmp 0x53f1f0
mov eax, dword [esp + 0x64]
imul dword [esp + 0xb4]
shrd eax, edx, 0xe
mov dword [esp + 0x7c], eax
mov esi, dword [esp + 0x7c]
mov eax, edi
and eax, 0xffffc000
cdq
and edx, 0x3fff
add eax, edx
mov ecx, eax
sar ecx, 0xe
lea eax, [esi + edi - 1]
or eax, 0x3fff
inc eax
cdq
and edx, 0x3fff
add eax, edx
lea edx, [ecx + 1]
shl edx, 0xe
sub edx, edi
sar eax, 0xe
mov dword [esp + 0x50], edx
mov edx, eax
shl edx, 0xe
sub esi, edx
mov dword [esp + 0x54], eax
sub eax, ecx
cmp eax, 2
lea edx, [esi + edi + 0x4000]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0xb8], eax
jge 0x53f26e
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
xor edx, edx
mov esi, edx
mov edi, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x5c]
inc eax
cmp eax, edx
jge 0x53f389
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0xc], edx
imul edx, eax
add edx, ecx
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x80], edx
lea esp, [esp]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x54]
dec ecx
cmp eax, ecx
mov dword [esp + 0x3c], ecx
jge 0x53f369
lea ecx, [edx + eax*4 + 2]
mov edx, dword [esp + 0x3c]
sub edx, eax
mov dword [esp + 0x3c], edx
movzx eax, byte [ecx - 2]
mov ebx, dword [esp + 0x18]
shl eax, 0xe
cdq
add esi, eax
movzx eax, byte [ecx - 1]
adc edi, edx
shl eax, 0xe
cdq
add ebx, eax
movzx eax, byte [ecx]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x1c]
adc ebx, edx
shl eax, 0xe
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x20]
cdq
add ebx, eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x24]
adc ebx, edx
shl eax, 0xe
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x28]
cdq
add ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
adc ebx, edx
add ecx, 4
dec eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
jne 0x53f2f2
mov ebx, dword [ebp + 0x2c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add edx, eax
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x40], eax
jne 0x53f2d0
mov edx, dword [ebx + 0x34]
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x38]
imul ecx, dword [esp + 0x74]
add ecx, eax
mov dword [esp + 0x3c], eax
add ecx, edx
mov eax, dword [esp + 0x50]
imul dword [esp + 0x4c]
shrd eax, edx, 0xe
mov dword [esp + 0xc0], eax
movzx eax, byte [ecx]
mov ebx, dword [esp + 0xc0]
imul eax, ebx
cdq
add esi, eax
movzx eax, byte [ecx + 1]
adc edi, edx
imul eax, ebx
mov ebx, dword [esp + 0x18]
cdq
add ebx, eax
adc dword [esp + 0x1c], edx
movzx eax, byte [ecx + 2]
imul eax, dword [esp + 0xc0]
cdq
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
add ebx, eax
adc dword [esp + 0x24], edx
movzx eax, byte [ecx + 3]
imul eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
cdq
add ebx, eax
mov eax, dword [esp + 0xb8]
adc ecx, edx
cmp eax, 1
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ecx
jle 0x53f4df
mov eax, dword [ebx + 0x38]
imul eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
lea edx, [eax + ecx*4]
mov eax, dword [ebx + 0x34]
lea ecx, [edx + eax - 4]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x60]
imul dword [esp + 0x4c]
shrd eax, edx, 0xe
mov dword [esp + 0x88], eax
movzx eax, byte [ecx]
imul eax, dword [esp + 0x88]
cdq
add esi, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [esp + 0x18]
adc edi, edx
imul eax, dword [esp + 0x88]
cdq
add ecx, eax
adc dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + 2]
imul eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x20]
cdq
add ecx, eax
mov eax, dword [esp + 0x24]
adc eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 3]
imul eax, dword [esp + 0x88]
cdq
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0xc8], 1
jle 0x53f63c
mov ecx, dword [ebx + 0x38]
imul ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
mov edx, dword [ebx + 0x34]
add ecx, eax
add ecx, edx
mov eax, dword [esp + 0x50]
imul dword [esp + 0x70]
shrd eax, edx, 0xe
mov dword [esp + 0xa0], eax
movzx eax, byte [ecx]
mov ebx, dword [esp + 0xa0]
imul eax, ebx
cdq
add esi, eax
movzx eax, byte [ecx + 1]
adc edi, edx
imul eax, ebx
mov ebx, dword [esp + 0x18]
cdq
add ebx, eax
adc dword [esp + 0x1c], edx
movzx eax, byte [ecx + 2]
imul eax, dword [esp + 0xa0]
cdq
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
add ebx, eax
adc dword [esp + 0x24], edx
movzx eax, byte [ecx + 3]
imul eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
cdq
add ebx, eax
mov eax, dword [esp + 0xb8]
adc ecx, edx
cmp eax, 1
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ecx
jle 0x53f63c
mov eax, dword [ebx + 0x38]
imul eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
lea edx, [eax + ecx*4]
mov eax, dword [ebx + 0x34]
lea ecx, [edx + eax - 4]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x60]
imul dword [esp + 0x70]
shrd eax, edx, 0xe
mov dword [esp + 0x8c], eax
movzx eax, byte [ecx]
imul eax, dword [esp + 0x8c]
cdq
add esi, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [esp + 0x18]
adc edi, edx
imul eax, dword [esp + 0x8c]
cdq
add ecx, eax
adc dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + 2]
imul eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x20]
cdq
add ecx, eax
mov eax, dword [esp + 0x24]
adc eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 3]
imul eax, dword [esp + 0x8c]
cdq
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
inc edx
dec eax
cmp edx, eax
mov dword [esp + 0x80], eax
jge 0x53f791
mov eax, dword [ebx + 0x38]
mov ebx, dword [ebx + 0x34]
mov ecx, eax
imul eax, dword [esp + 0x74]
imul ecx, dword [esp + 0x5c]
add ecx, ebx
add eax, ebx
lea ebx, [eax + edx*4 + 2]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], ebx
sub eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
sub ebx, edx
lea ecx, [ecx + edx*4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ebx
jmp 0x53f695
mov eax, dword [esp + 0x38]
movzx eax, byte [ecx + eax]
mov ebx, dword [esp + 0x4c]
imul eax, ebx
cdq
add esi, eax
adc edi, edx
mov edx, dword [esp + 0xc]
movzx eax, byte [edx - 1]
imul eax, ebx
mov ebx, dword [esp + 0x18]
cdq
add ebx, eax
adc dword [esp + 0x1c], edx
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
imul eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
add ebx, eax
mov eax, dword [esp + 0x24]
adc eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 1]
imul eax, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
cdq
add ebx, eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
adc ebx, edx
cmp eax, 1
mov dword [esp + 0x2c], ebx
jle 0x53f769
movzx eax, byte [ecx]
mov ebx, dword [esp + 0x70]
imul eax, ebx
cdq
add esi, eax
movzx eax, byte [ecx + 1]
adc edi, edx
imul eax, ebx
mov ebx, dword [esp + 0x18]
cdq
add ebx, eax
adc dword [esp + 0x1c], edx
movzx eax, byte [ecx + 2]
imul eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
add ebx, eax
adc dword [esp + 0x24], edx
movzx eax, byte [ecx + 3]
imul eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
add ebx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
add ebx, 4
add ecx, 4
dec eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], eax
jne 0x53f691
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x5c]
inc edx
cmp edx, eax
jge 0x53f8c8
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0xc], ecx
imul ecx, edx
add ecx, dword [ebx + 0x34]
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + ecx]
mov ebx, dword [esp + 0x50]
imul eax, ebx
cdq
add esi, eax
adc edi, edx
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + ecx + 1]
imul eax, ebx
mov ebx, dword [esp + 0x18]
cdq
add ebx, eax
adc dword [esp + 0x1c], edx
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 2]
imul eax, dword [esp + 0x50]
cdq
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
add ebx, eax
mov eax, dword [esp + 0x24]
adc eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + ecx + 3]
imul eax, dword [esp + 0x50]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
cdq
add ebx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
adc ebx, edx
cmp eax, 1
mov dword [esp + 0x2c], ebx
jle 0x53f8a8
mov ebx, dword [esp + 0x54]
movzx eax, byte [ecx + ebx*4 - 4]
imul eax, dword [esp + 0x60]
cdq
add esi, eax
movzx eax, byte [ecx + ebx*4 - 3]
mov ebx, dword [esp + 0x18]
adc edi, edx
imul eax, dword [esp + 0x60]
cdq
add ebx, eax
adc dword [esp + 0x1c], edx
mov eax, dword [esp + 0x54]
movzx eax, byte [ecx + eax*4 - 2]
imul eax, dword [esp + 0x60]
cdq
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
add ebx, eax
mov eax, dword [esp + 0x24]
adc eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + edx*4 - 1]
imul eax, dword [esp + 0x60]
cdq
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
add ebx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
add ecx, edx
dec eax
mov dword [esp + 0x40], eax
jne 0x53f7b5
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x64]
mov ecx, 0x4000
cmp eax, ecx
jne 0x53f8df
cmp dword [esp + 0x58], ecx
je 0x53faa3
mov eax, dword [ebp + 0x34]
test eax, eax
jne 0x53faa3
mov eax, dword [esp + 0x7c]
imul dword [esp + 0x6c]
push 0
push ecx
push edx
push eax
call fcn.005c4520
mov ecx, edx
test ecx, ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
jl 0x53fb36
jg 0x53f91e
test eax, eax
jbe 0x53fb36
mov eax, dword [esp + 0x64]
imul dword [esp + 0x58]
shrd eax, edx, 0xe
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xf4]
imul eax, eax, 0xff
cdq
push ecx
mov ecx, dword [esp + 0x9c]
and edx, 0x3fff
add eax, edx
sar eax, 0xe
push ecx
movzx eax, al
push edi
push esi
mov dword [esp + 0x48], eax
call fcn.005c4520
mov edx, dword [esp + 0x68]
movzx edx, byte [edx]
movzx eax, al
sub eax, edx
imul eax, dword [esp + 0x38]
add eax, 0x80
mov ecx, eax
sar ecx, 8
add ecx, eax
sar ecx, 8
add ecx, edx
jns 0x53f989
xor ecx, ecx
jmp 0x53f996
cmp ecx, 0xff
jle 0x53f996
mov ecx, 0xff
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x1c]
movzx edi, byte [esi + 1]
push eax
mov eax, dword [esp + 0x1c]
mov byte [esi], cl
mov ecx, dword [esp + 0x9c]
push ecx
push edx
push eax
call fcn.005c4520
movzx eax, al
sub eax, edi
imul eax, dword [esp + 0x38]
add eax, 0x80
mov ecx, eax
sar ecx, 8
add ecx, eax
sar ecx, 8
add ecx, edi
jns 0x53f9e0
xor ecx, ecx
jmp 0x53f9ed
cmp ecx, 0xff
jle 0x53f9ed
mov ecx, 0xff
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x24]
movzx edi, byte [esi + 2]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.005c4520
movzx eax, al
sub eax, edi
imul eax, dword [esp + 0x38]
add eax, 0x80
mov ecx, eax
sar ecx, 8
add ecx, eax
sar ecx, 8
add ecx, edi
jns 0x53fa34
xor ecx, ecx
jmp 0x53fa41
cmp ecx, 0xff
jle 0x53fa41
mov ecx, 0xff
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
movzx edi, byte [esi + 3]
push edx
mov edx, dword [esp + 0x2c]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.005c4520
movzx eax, al
sub eax, edi
imul eax, dword [esp + 0x38]
add eax, 0x80
mov ecx, eax
sar ecx, 8
add ecx, eax
sar ecx, 8
add ecx, edi
jns 0x53fa8e
xor ecx, ecx
mov byte [esi + 3], cl
jmp 0x53fb3a
cmp ecx, 0xff
jle 0x53fa9b
mov ecx, 0xff
mov byte [esi + 3], cl
jmp 0x53fb3a
fild qword [esp + 0x10]
fmul qword [esp + 0xa8]
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fistp dword [esp + 0xe4]
fild qword [esp + 0x18]
mov cl, byte [esp + 0xe4]
mov eax, dword [esp + 0x68]
mov byte [eax], cl
fmul qword [esp + 0xa8]
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fistp dword [esp + 0xec]
fild qword [esp + 0x20]
mov dl, byte [esp + 0xec]
mov byte [eax + 1], dl
fmul qword [esp + 0xa8]
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fistp dword [esp + 0xd0]
fild qword [esp + 0x28]
mov cl, byte [esp + 0xd0]
mov byte [eax + 2], cl
fmul qword [esp + 0xa8]
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fistp dword [esp + 0xd8]
mov dl, byte [esp + 0xd8]
mov byte [eax + 3], dl
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x90]
add esi, 4
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x84]
lea eax, [esi - 2]
cmp ecx, eax
jne 0x53fb8a
mov eax, dword [esp + 0x64]
imul dword [esp + 0xb4]
shrd eax, edx, 0xe
mov dword [esp + 0xe8], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0xe8]
add edx, eax
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x64], edx
jmp 0x53fba0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add eax, edx
mov dword [esp + 0x64], 0x4000
mov dword [esp + 0x78], eax
inc ecx
cmp ecx, esi
mov dword [esp + 0x90], ecx
jl 0x53f1e7
mov eax, dword [esp + 0xf0]
push 0xffffffffffffffff
push eax
call dword [0x5d2604]
mov esi, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc4]
lea eax, [esi - 2]
add esp, 8
cmp ecx, eax
jne 0x53fc0c
mov eax, dword [esp + 0x58]
imul dword [esp + 0xa4]
shrd eax, edx, 0xe
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0xd4]
add eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x58], eax
jmp 0x53fc22
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
add edx, eax
mov dword [esp + 0x58], 0x4000
mov dword [esp + 0x48], edx
inc ecx
cmp ecx, esi
mov dword [esp + 0xbc], ecx
jl 0x53f0e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30