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

Disassembly:
mov eax, dword [esp + 0x20]
xor edx, edx
sub esp, 0x9c
cmp eax, edx
jne 0x53da41
mov eax, dword [esp + 0xac]
add eax, 0xc
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc4]
mov ebp, dword [esp + 0xd0]
push edi
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xa0], ecx
mov eax, ecx
mov ecx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x68], ecx
mov ecx, 1
cmp ebp, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x64], eax
jle 0x53dadb
lea eax, [esi + 8]
mov edi, dword [eax + 4]
cmp edi, ebx
jl 0x53da93
jne 0x53daa7
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa0]
jge 0x53daa7
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x30], ecx
mov edx, ecx
jmp 0x53dacc
mov ebp, dword [esp + 0x68]
cmp ebp, edi
jl 0x53dabb
jne 0x53dacc
mov edi, dword [esp + 0x64]
mov ebp, dword [eax]
cmp edi, ebp
jge 0x53dacc
mov edi, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x68], edi
mov ebp, dword [esp + 0xd4]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x53da7f
lea ebx, [edx - 1]
lea edi, [edx + 1]
test edx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ebx
jne 0x53daf4
lea ebx, [ebp - 1]
mov dword [esp + 0x14], ebx
lea eax, [ebp - 1]
cmp edx, eax
mov dword [esp + 0x24], eax
jne 0x53db01
xor edi, edi
xor eax, eax
mov ecx, dword [esi + edx*8 + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + edi*8 + 4]
mov ebx, dword [esi + ebx*8]
mov dword [esp + 0x18], eax
lea eax, [esi + edx*8 + 4]
mov edi, dword [esi + edi*8]
mov dword [esp + 0x48], eax
mov eax, dword [esi + edx*8]
sub ebp, ecx
sub ebx, eax
imul ebp, ebx
mov ebx, dword [esp + 0x14]
sub edi, eax
mov dword [esp + 0x2c], edx
mov ebx, dword [esi + ebx*8 + 4]
sub ebx, ecx
imul ebx, edi
sub ebp, ebx
test ebp, ebp
jle 0x53dd40
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x53db72
mov edi, dword [esp + 0xd4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x53db8c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jmp 0x53db8c
mov eax, dword [esi + ebp*8 + 4]
mov edi, dword [esi + ebp*8 - 4]
cmp eax, edi
jne 0x53db85
lea eax, [ebp - 1]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0xd4]
mov ebx, dword [esp + 0x18]
mov eax, edx
cmp edx, ebx
mov ebx, dword [esp + 0x28]
je 0x53dbac
inc eax
cmp eax, edi
jne 0x53dba1
xor eax, eax
inc ebx
cmp eax, dword [esp + 0x18]
jne 0x53db9a
mov dword [esp + 0x28], ebx
test edx, edx
jne 0x53dbc5
mov ecx, dword [esi + 4]
mov eax, dword [esi + edi*8 - 4]
cmp ecx, eax
jne 0x53dbd5
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x53dbd9
cmp ecx, dword [esi + edx*8 - 4]
jne 0x53dbd5
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
jmp 0x53dbd9
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov ebp, dword [esp + 0x20]
je 0x53dbf8
dec eax
cmp eax, 0xffffffff
jne 0x53dbeb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
inc ebp
cmp eax, ecx
jne 0x53dbe1
mov dword [esp + 0x20], ebp
inc ebx
shl ebx, 4
push ebx
call fcn.0054a1d0
inc ebp
mov edi, eax
shl ebp, 4
push ebp
mov dword [esp + 0x54], edi
call fcn.0054a1d0
push ebx
mov dword [esp + 0x4c], eax
call fcn.0054a1d0
mov ebx, eax
push ebp
mov dword [esp + 0x48], ebx
call fcn.0054a1d0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc4]
je 0x53dcb9
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0xd4]
mov edi, edx
inc edx
cmp edx, ebx
jne 0x53dc61
xor edx, edx
mov ebx, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebp], ebx
mov ebx, dword [esi + edi*8 + 4]
mov dword [ebp + 4], ebx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*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 0x53dc51
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x53df19
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebp, ebx
mov dword [esp + 0x14], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x1c], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x53dcec
mov edx, dword [esp + 0x24]
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x10]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x53dce0
jmp 0x53df11
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jne 0x53dd55
cmp ecx, dword [esi + 4]
jne 0x53dd64
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x53dd68
cmp ecx, dword [esi + edx*8 + 0xc]
jne 0x53dd64
lea eax, [edx + 1]
mov dword [esp + 0x2c], eax
jmp 0x53dd68
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x53dda2
mov edi, dword [esp + 0xd4]
mov ebp, dword [esp + 0x20]
inc eax
cmp eax, edi
jne 0x53dd82
xor eax, eax
inc ebp
cmp eax, ecx
jne 0x53dd7b
mov dword [esp + 0x20], ebp
mov eax, dword [esi + ecx*8 + 4]
cmp ecx, ebx
jne 0x53dda8
cmp eax, dword [esi + 4]
jne 0x53ddb3
mov dword [esp + 0x18], 0
jmp 0x53ddb3
mov ebp, dword [esp + 0x20]
jmp 0x53dd8b
cmp eax, dword [esi + ecx*8 + 0xc]
jne 0x53ddb3
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
cmp edx, eax
je 0x53ddd2
dec edx
cmp edx, 0xffffffff
jne 0x53ddc9
mov edx, dword [esp + 0x24]
inc ebx
cmp edx, eax
jne 0x53ddbf
mov dword [esp + 0x28], ebx
inc ebx
shl ebx, 4
push ebx
call fcn.0054a1d0
inc ebp
mov edi, eax
shl ebp, 4
push ebp
mov dword [esp + 0x54], edi
call fcn.0054a1d0
push ebx
mov dword [esp + 0x4c], eax
call fcn.0054a1d0
mov ebx, eax
push ebp
mov dword [esp + 0x48], ebx
call fcn.0054a1d0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc4]
je 0x53de9a
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x14], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0xd4]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x53de43
xor edx, edx
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esi + edx*8]
mov dword [ecx + ebx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + ebx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x10]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x53de33
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
je 0x53df19
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x1c], edi
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x53dec1
mov edx, dword [esp + 0x24]
mov ebx, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebp], ebx
mov ebx, dword [esi + edi*8 + 4]
mov dword [ebp + 4], ebx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*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 0x53deb5
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
shl eax, 4
add ecx, eax
lea edx, [ecx - 0x10]
mov ebp, dword [ecx - 0x10]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [edx + 8]
mov dword [ecx + 8], ebp
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x3c]
add eax, ecx
lea edx, [eax - 0x10]
mov ecx, dword [eax - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
shl eax, 4
lea ecx, [eax + edi - 0x10]
mov edx, dword [eax + edi - 0x10]
mov dword [eax + edi], edx
mov edx, dword [ecx + 4]
mov dword [eax + edi + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + edi + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + edi + 0xc], ecx
add eax, ebx
lea edx, [eax - 0x10]
mov ecx, dword [eax - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xbc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x90], edx
xor edx, edx
xor eax, eax
xor ecx, ecx
cmp byte [esp + 0xd0], dl
setne dl
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xcc]
test edx, edx
jne 0x53e003
mov edx, dword [esp + 0x48]
mov edx, dword [edx]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
mov edx, dword [esi + edx*8 + 4]
mov dword [esp + 0x1c], edx
jmp 0x53e25c
mov edx, dword [esp + 0xcc]
mov ebp, dword [edx]
shl ebp, 0x14
add ebp, 0x80000
mov dword [esp + 0x88], ebp
mov ebp, dword [edx + 8]
shl ebp, 0x14
sub ebp, 0x80000
mov dword [esp + 0x98], ebp
mov ebp, dword [esp + 0x48]
mov ebp, dword [ebp]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x10]
mov esi, dword [esi + ebp*8 + 4]
mov ebp, dword [edx + 4]
mov dword [esp + 0x50], esi
mov esi, dword [edx + 0xc]
mov edx, dword [esp + 0x48]
dec esi
cmp esi, edx
mov dword [esp + 0x60], esi
jl 0x53e68c
cmp dword [esp + 0x50], ebp
jl 0x53e68c
mov edx, dword [esp + 0x48]
cmp ebp, edx
jg 0x53e078
mov dword [esp + 0x24], edx
jmp 0x53e24c
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
mov eax, 1
dec ebp
cmp ecx, eax
mov dword [esp + 0x44], eax
jle 0x53e0a6
add edi, 0xc
cmp dword [edi - 8], ebp
jg 0x53e09a
cmp ebp, dword [edi]
jl 0x53e0a2
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x53e091
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x20]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x10], ecx
jle 0x53e0d3
mov eax, dword [esp + 0x40]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x53e0c7
cmp ebp, dword [eax]
jl 0x53e0cf
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x53e0be
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
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 + 0x34], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x38]
shl ebx, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
add edi, eax
mov eax, dword [ecx + edx - 8]
sub eax, esi
mov dword [esp + 0x1c], edi
shl eax, 0x14
cdq
idiv edi
shl esi, 0x14
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov edx, eax
mov edi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + edx - 4]
mov ecx, dword [esp + 0x34]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x1c]
shl edi, 0x14
mov dword [esp + 0x78], eax
mov eax, ebp
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x80]
lea edx, [ecx + ebx + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x70]
imul eax, dword [esp + 0x78]
mov dword [esp + 0x30], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x10]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
shl ecx, 4
mov dword [esp + 0x28], 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 + 0x34], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x2c]
add esi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x7c], 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 + 0x74], 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 + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
sub ebp, ecx
mov ecx, ebp
imul edx, ecx
shl edi, 0x14
shl ebx, 0x14
lea edx, [edx + edi + 0x80000]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
imul edx, ecx
mov dword [esp + 0x9c], eax
imul eax, ecx
mov ecx, dword [esp + 0x10]
lea edx, [edx + ebx + 0x80000]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
shl esi, 0x14
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
cmp edx, esi
mov dword [esp + 0x1c], edx
jle 0x53e25c
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0xbc]
mov edx, esi
imul edx, dword [esp + 0x14]
add edx, dword [ebp + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
cmp esi, edx
jg 0x53e66f
mov esi, dword [esp + 0x40]
shl ecx, 4
shl eax, 4
lea ebp, [ecx + esi]
mov esi, dword [esp + 0x3c]
lea edx, [eax + edi]
lea eax, [eax + ebx - 0xc]
lea ecx, [ecx + esi - 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x8c], ebp
add ebp, 0xfffffff0
sub ebx, edi
mov edi, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], edx
lea esi, [edx - 0x10]
mov dword [esp + 0xa8], ebx
jmp 0x53e2f4
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp dword [edx + 4], ebx
je 0x53e33c
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x70]
add edi, edx
mov edx, dword [esp + 0x78]
add eax, edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x18], eax
add ecx, ebx
sar eax, 0x14
imul eax, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
add edx, eax
sar ecx, 0x14
mov dword [esp + 0x30], edi
lea ecx, [ecx + ecx*2]
add ecx, edx
jmp 0x53e3ea
mov edx, dword [esi + 0x10]
add esi, 0x10
mov eax, edx
mov edi, dword [esp + 0x44]
mov ecx, dword [esi + 0xc]
add edi, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
sub ecx, eax
lea eax, [esi + 0x10]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 8]
sub eax, edx
mov edi, dword [edi]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + esi]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, ebx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x28], eax
mov eax, edi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [edx + 4]
sub eax, ebx
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
sub eax, edi
imul edi, dword [esp + 0x54]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x90]
lea ecx, [ebx + ebx*2]
add edx, edi
mov edi, dword [esp + 0x30]
add ecx, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x24]
cmp dword [eax + 4], edx
je 0x53e42c
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
add edx, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
add ebx, edx
mov edx, dword [esp + 0x5c]
add edx, eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x5c], edx
jmp 0x53e4c7
mov edx, dword [ebp + 0x10]
add ebp, 0x10
mov eax, edx
mov ebx, dword [esp + 0x58]
mov edi, dword [ebp + 0xc]
add ebx, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x58], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 4]
sub edi, eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
sub eax, edx
mov ebx, dword [ebx]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + ebp]
mov dword [esp + 0x7c], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x6c], eax
mov eax, ebx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
add edi, eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 8]
sub eax, ebx
shl eax, 0x14
cdq
idiv edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x20]
mov ebx, edi
sar eax, 0x14
sar ebx, 0x14
mov dword [esp + 0x34], eax
sub eax, ebx
mov dword [esp + 0x60], ebx
je 0x53e52b
mov edx, dword [esp + 0x2c]
lea ebx, [eax + edx]
mov eax, dword [esp + 0x28]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x6c]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ebx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x5c]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x50], eax
jmp 0x53e538
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0xcc]
xor eax, eax
cmp edx, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], eax
jne 0x53e557
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
jmp 0x53e5cf
cmp dword [esp + 0x98], edi
jl 0x53e644
mov edx, dword [esp + 0x88]
cmp dword [esp + 0x20], edx
jl 0x53e644
cmp edx, edi
jle 0x53e5af
mov eax, dword [esp + 0xcc]
sub edx, edi
sar edx, 0x14
mov ebx, dword [eax]
mov eax, edx
imul edx, dword [esp + 0x50]
imul eax, dword [esp + 0x84]
mov dword [esp + 0x48], edx
mov edi, eax
sar edx, 0x14
imul edx, dword [esp + 0x54]
sar edi, 0x14
lea ecx, [ecx + edi*2]
add edi, ecx
lea ecx, [edi + edx]
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x20]
cmp edi, edx
jg 0x53e5c4
mov edx, dword [esp + 0x34]
jmp 0x53e5cf
mov edx, dword [esp + 0xcc]
mov edx, dword [edx + 8]
dec edx
cmp ebx, edx
jg 0x53e634
mov edi, dword [esp + 0x10]
sub edx, ebx
inc edx
lea edi, [edi + ebx*2]
mov dword [esp + 0x34], edx
lea edi, [ebx + edi + 1]
mov dl, byte [ecx + 2]
mov ebx, dword [esp + 0x84]
mov byte [edi + 1], dl
mov dl, byte [ecx + 1]
mov byte [edi], dl
mov cl, byte [ecx]
mov edx, dword [esp + 0x50]
mov byte [edi - 1], cl
mov ecx, dword [esp + 0x48]
add eax, ebx
add ecx, edx
mov ebx, dword [esp + 0x64]
mov edx, ecx
mov dword [esp + 0x48], ecx
sar edx, 0x14
imul edx, dword [esp + 0x54]
mov ecx, eax
add ebx, edx
mov edx, dword [esp + 0x34]
add edi, 3
sar ecx, 0x14
lea ecx, [ecx + ecx*2]
add ecx, ebx
dec edx
mov dword [esp + 0x34], edx
jne 0x53e5e5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x53e652
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x53e2e1
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
push edi
call fcn.0054a2d0
mov edx, dword [esp + 0x44]
push edx
call fcn.0054a2d0
push ebx
call fcn.0054a2d0
mov eax, dword [esp + 0x48]
push eax
jmp 0x53e6a7
push edi
call fcn.0054a2d0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0054a2d0
push ebx
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, 0x9c
ret