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

Disassembly:
mov eax, dword [esp + 0x20]
sub esp, 0xa0
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x53b415
mov eax, dword [esp + 0xc0]
add eax, 0xc
mov dword [esp + 0xd0], eax
mov esi, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0xa0], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
jle 0x53b4bb
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x53b466
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0xa0], edx
jmp 0x53b4a8
jne 0x53b483
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa0]
jge 0x53b483
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0xa0], edx
jmp 0x53b4a8
mov ebp, dword [esp + 0x70]
cmp ebp, edx
jl 0x53b497
jne 0x53b4a8
mov edx, dword [esp + 0x6c]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x53b4a8
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov ebp, dword [esp + 0xd8]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x53b44f
mov dword [esp + 0x5c], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x53b4d0
lea edi, [ebp - 1]
mov dword [esp + 0x14], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x28], eax
jne 0x53b4dd
xor edx, edx
xor eax, eax
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esi + edi*8 + 4]
mov ebp, dword [esi + edx*8]
mov dword [esp + 0x18], eax
lea eax, [esi + ebx*8 + 4]
mov edx, dword [esi + edx*8 + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esi + ebx*8]
sub edi, ecx
sub ebp, eax
imul edi, ebp
mov ebp, dword [esp + 0x14]
sub edx, ecx
mov dword [esp + 0x1c], ebx
mov ebp, dword [esi + ebp*8]
sub ebp, eax
imul edx, ebp
sub edx, edi
test edx, edx
jle 0x53b827
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x53b54e
mov edi, dword [esp + 0xd8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x53b577
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
jmp 0x53b57b
mov edx, dword [esi + ebp*8 + 4]
mov eax, dword [esi + ebp*8 - 4]
cmp edx, eax
jne 0x53b56a
mov edi, dword [esp + 0xd8]
lea edx, [ebp - 1]
mov dword [esp + 0x18], edx
jmp 0x53b57b
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0xd8]
jmp 0x53b57b
mov edx, dword [esp + 0x18]
cmp ebx, edx
mov eax, ebx
je 0x53b5b4
mov ebp, dword [esp + 0x24]
inc eax
cmp eax, edi
jne 0x53b58c
xor eax, eax
inc ebp
cmp eax, edx
jne 0x53b585
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x10]
test ebx, ebx
jne 0x53b5ba
mov eax, dword [esi + 4]
mov ecx, dword [esi + edi*8 - 4]
cmp eax, ecx
jne 0x53b5c9
mov eax, edx
mov dword [esp + 0x1c], eax
jmp 0x53b5cd
mov edx, dword [esp + 0x28]
jmp 0x53b59d
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x53b5c9
lea eax, [ebx - 1]
mov dword [esp + 0x1c], eax
jmp 0x53b5cd
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x53b5e6
mov ecx, dword [esp + 0x20]
dec eax
cmp eax, 0xffffffff
jne 0x53b5dd
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x53b5d5
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
mov edx, dword [esp + 0x24]
mov edi, eax
mov dword [esp + 0x54], edi
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x54], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x50], eax
call fcn.0054a1d0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
push eax
call fcn.0054a1d0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xc8]
mov edx, ebx
je 0x53b6b7
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0xd8]
mov ebx, edx
inc edx
cmp edx, edi
jne 0x53b663
xor edx, edx
mov edi, dword [esi + ebx*8]
add ecx, 0x10
mov dword [ebp], edi
mov edi, dword [esi + ebx*8 + 4]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x30]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov ebp, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebp, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x18]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x53b653
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x53b739
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ebp, edi
mov dword [esp + 0x14], edi
sub ebp, ebx
lea ecx, [ebx + 8]
mov dword [esp + 0x30], ebp
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x53b6e6
mov edx, dword [esp + 0x28]
mov ebp, dword [esi + ebx*8]
add ecx, 0x10
mov dword [edi], ebp
mov ebp, dword [esi + ebx*8 + 4]
mov dword [edi + 4], ebp
mov edi, dword [esp + 0x30]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
mov ebx, dword [esp + 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x53b6da
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
shl eax, 4
add edx, eax
lea ebx, [edx - 0x10]
mov ebp, dword [edx - 0x10]
mov dword [edx], ebp
mov ebp, dword [ebx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [edx + 8], ebp
mov ebx, dword [ebx + 0xc]
mov dword [edx + 0xc], ebx
mov edx, dword [esp + 0x3c]
add eax, edx
lea edx, [eax - 0x10]
mov ebx, dword [eax - 0x10]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
shl eax, 4
lea edx, [eax + edi - 0x10]
mov ebx, dword [eax + edi - 0x10]
mov dword [eax + edi], ebx
mov ebx, dword [edx + 4]
mov dword [eax + edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [eax + edi + 0xc], edx
mov edx, dword [esp + 0x34]
add eax, edx
lea edx, [eax - 0x10]
mov ebx, dword [eax - 0x10]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
xor ebx, ebx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x9c], eax
xor eax, eax
mov edx, dword [edx + 8]
mov dword [esp + 0x5c], edx
xor edx, edx
cmp byte [esp + 0xd4], dl
setne dl
test ecx, ecx
mov dword [esp + 0x18], edx
jne 0x53ba12
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov esi, dword [esi + ecx*8 + 4]
jmp 0x53bc55
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jne 0x53b83c
cmp ecx, dword [esi + 4]
jne 0x53b84b
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x53b84f
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x53b84b
lea eax, [ebx + 1]
mov dword [esp + 0x1c], eax
jmp 0x53b84f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x53b872
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0x20]
inc eax
cmp eax, edi
jne 0x53b869
xor eax, eax
inc edx
cmp eax, ecx
jne 0x53b862
mov dword [esp + 0x20], edx
cmp ecx, ebp
jne 0x53b889
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x53b89c
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x53b8a0
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x53b89c
inc ecx
mov dword [esp + 0x18], ecx
jmp 0x53b8a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp ebx, ecx
je 0x53b8b9
dec ebx
cmp ebx, 0xffffffff
jne 0x53b8b0
mov ebx, ebp
inc eax
cmp ebx, ecx
jne 0x53b8a8
mov dword [esp + 0x24], eax
lea ebx, [eax + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], edi
lea ebp, [eax + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push ebx
mov dword [esp + 0x50], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x44], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc8]
je 0x53b983
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov ebx, edi
mov dword [esp + 0x14], edi
sub ebx, ebp
lea ecx, [ebp + 8]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0xd8]
mov ebx, edx
inc edx
cmp edx, ebp
jne 0x53b930
xor edx, edx
mov ebp, dword [esi + ebx*8]
add ecx, 0x10
mov dword [edi], ebp
mov ebp, dword [esi + ebx*8 + 4]
mov dword [edi + 4], ebp
mov edi, dword [esp + 0x30]
mov ebp, dword [esi + edx*8]
mov dword [ecx + edi - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + edi - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
mov ebx, dword [esp + 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x53b920
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
je 0x53b739
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x30], edi
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x53b9b2
mov edx, dword [esp + 0x28]
mov edi, dword [esi + ebx*8]
add ecx, 0x10
mov dword [ebp], edi
mov edi, dword [esi + ebx*8 + 4]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x30]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov ebp, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebp, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x18]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x53b9a6
mov ecx, dword [esp + 0xd0]
mov edi, dword [esp + 0x50]
jmp 0x53b740
mov edx, dword [ecx]
mov ebp, dword [esp + 0x10]
shl edx, 0x14
add edx, 0x80000
mov esi, dword [esi + ebp*8 + 4]
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
shl edx, 0x14
sub edx, 0x80000
dec ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x68], esi
mov dword [esp + 0x40], ecx
mov edx, dword [edx]
cmp ecx, edx
jl 0x53c07c
cmp esi, ebp
jl 0x53c07c
cmp ebp, edx
jg 0x53ba71
mov dword [esp + 0x1c], edx
jmp 0x53bc4f
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebp
mov eax, 1
dec ebp
cmp ecx, eax
mov dword [esp + 0x2c], eax
jle 0x53ba9f
add edi, 0xc
cmp dword [edi - 8], ebp
jg 0x53ba93
cmp ebp, dword [edi]
jl 0x53ba9b
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x53ba8a
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x20]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x38], ecx
jle 0x53bacc
mov eax, dword [esp + 0x44]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x53bac0
cmp ebp, dword [eax]
jl 0x53bac8
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x53bab7
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
shl ecx, 4
mov edx, dword [ecx + eax - 0xc]
mov edi, dword [ecx + eax - 4]
mov ebx, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebx
mov dword [esp + 0x4c], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x34]
shl ebx, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [ecx + edx - 8]
sub eax, esi
mov dword [esp + 0x48], edi
shl eax, 0x14
cdq
idiv edi
shl esi, 0x14
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov edx, eax
mov edi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + edx - 4]
mov ecx, dword [esp + 0x4c]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x48]
shl edi, 0x14
mov dword [esp + 0x7c], eax
mov eax, ebp
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x88]
lea edx, [ecx + ebx + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x74]
imul eax, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x38]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
shl ecx, 4
mov dword [esp + 0x60], edx
mov edx, dword [ecx + eax - 0xc]
mov esi, dword [ecx + eax - 4]
mov edi, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, edi
mov dword [esp + 0x4c], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x18]
add esi, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
mov ebx, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebx
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + eax - 4]
sub eax, esi
shl eax, 0x14
cdq
idiv dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
sub ebp, ecx
mov ecx, dword [esp + 0x80]
imul ecx, ebp
shl edi, 0x14
shl ebx, 0x14
lea edx, [ecx + edi + 0x80000]
mov ecx, dword [esp + 0x84]
imul ecx, ebp
mov dword [esp + 0x94], eax
imul eax, ebp
mov edi, dword [esp + 0x50]
mov dword [esp + 0x28], edx
shl esi, 0x14
lea edx, [ecx + ebx + 0x80000]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
cmp esi, ecx
jle 0x53bc55
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc0]
mov edx, ecx
mov dword [esp + 0x14], esi
imul edx, dword [esp + 0x5c]
add edx, dword [ebp + 4]
cmp ecx, esi
mov dword [esp + 0x38], edx
jg 0x53c07c
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
shl ebx, 4
mov ecx, ebx
shl eax, 4
lea ebx, [ecx + edx]
lea ecx, [ecx + esi - 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
lea ebp, [eax + edi]
mov dword [esp + 0x68], ebx
lea eax, [eax + ecx - 0xc]
add ebx, 0xfffffff0
mov dword [esp + 0x20], eax
mov eax, ecx
sub eax, edi
mov dword [esp + 0x98], ebp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x4c], ebx
lea esi, [ebp - 0x10]
mov dword [esp + 0xac], eax
jmp 0x53bcda
mov ebp, dword [esp + 0x98]
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x53bd2e
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
add eax, edi
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x64], eax
sar eax, 0x14
imul eax, dword [esp + 0x30]
mov edx, dword [esp + 0x9c]
add ecx, ebp
mov dword [esp + 0x60], ecx
sar ecx, 0x14
add edx, eax
lea edi, [edx + ecx*4]
jmp 0x53bdd6
mov ecx, dword [esi + 0x10]
add esi, 0x10
mov eax, ecx
mov ebp, dword [esp + 0x20]
shl eax, 0x14
add eax, 0x80000
mov edi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 8]
add ebp, 0x10
sub eax, ecx
mov dword [esp + 0x20], ebp
mov ebp, dword [esi + 4]
shl eax, 0x14
cdq
sub edi, ebp
mov ecx, dword [esp + 0xa8]
idiv edi
mov ebp, dword [ecx + esi]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov dword [esp + 0x88], eax
mov eax, ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x60], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [edx + 4]
sub eax, ebp
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x30]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x9c]
add edx, ecx
lea edi, [edx + ebp*4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
cmp dword [ecx + 4], eax
je 0x53be1b
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x48]
add ebp, edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x78]
add ebp, edx
add ecx, eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x48], ecx
jmp 0x53bec2
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0x10]
add ebx, 0x10
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, edx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x4c], ebx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
sub ecx, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 8]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xac]
mov edx, dword [edx + ebx]
mov ebp, edx
shl ebp, 0x14
add ebp, 0x80000
mov dword [esp + 0x78], ebp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x40]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
sar ecx, 0x14
sar eax, 0x14
mov dword [esp + 0x40], ecx
sub ecx, eax
mov dword [esp + 0x2c], eax
je 0x53bf23
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
add ecx, eax
mov eax, ebp
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x64]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x48]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
jmp 0x53bf30
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0xd0]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x6c], edi
test ecx, ecx
jne 0x53bf50
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
jmp 0x53bfd9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jl 0x53c055
mov ecx, dword [esp + 0xa0]
cmp dword [esp + 0x28], ecx
jl 0x53c055
cmp ecx, eax
jg 0x53bf82
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x53bfb9
mov edx, dword [esp + 0xd0]
sub ecx, eax
sar ecx, 0x14
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
mov edx, ecx
imul ecx, dword [esp + 0x58]
imul edx, dword [esp + 0x8c]
mov ebp, ecx
mov ecx, edx
mov eax, ebp
sar eax, 0x14
imul eax, dword [esp + 0x30]
sar ecx, 0x14
add eax, edi
lea edi, [eax + ecx*4]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jg 0x53bfce
mov eax, dword [esp + 0x40]
jmp 0x53bfd9
mov ecx, dword [esp + 0xd0]
mov eax, dword [ecx + 8]
dec eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x53c049
mov ebx, dword [esp + 0x38]
lea ecx, [ebx + ecx*4 + 2]
mov ebx, dword [esp + 0x2c]
sub eax, ebx
inc eax
mov dword [esp + 0x40], eax
mov bl, byte [edi + 1]
mov al, byte [edi]
mov byte [esp + 0x57], bl
mov bl, byte [edi + 2]
mov byte [ecx - 2], bl
mov bl, byte [esp + 0x57]
mov byte [ecx - 1], bl
mov ebx, dword [esp + 0x58]
mov byte [ecx], al
mov eax, dword [esp + 0x8c]
add ebp, ebx
add edx, eax
mov eax, ebp
mov ebx, dword [esp + 0x6c]
sar eax, 0x14
imul eax, dword [esp + 0x30]
mov edi, edx
add ebx, eax
mov eax, dword [esp + 0x40]
mov byte [ecx + 1], 0xff
sar edi, 0x14
add ecx, 4
dec eax
lea edi, [ebx + edi*4]
mov dword [esp + 0x40], eax
jne 0x53bff4
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x38]
add eax, ecx
jmp 0x53c05f
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x38]
add eax, edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x53bcd3
mov edi, dword [esp + 0x50]
push edi
call fcn.0054a2d0
mov eax, dword [esp + 0x48]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x48]
push edx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret