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

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
push esi
mov esi, ebx
mov edx, ebx
sar esi, 1
sar edx, 2
test bl, 0x40
push edi
mov dword [esp + 0x68], esi
mov eax, 6
jne 0x4b3996
inc eax
mov edi, 1
mov ecx, eax
shl edi, cl
test ebx, edi
je 0x4b3988
mov ebp, dword [esp + 0xb0]
mov ecx, 0xd
sub ecx, eax
mov eax, 2
shl eax, cl
mov dword [esp + 0x58], ecx
lea ecx, [edx + esi]
lea edi, [ebp + esi*4 - 0x1c]
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x60], eax
lea ebx, [eax*4]
lea eax, [edx*4]
lea esi, [esi + ecx*4]
mov dword [esp + 0xa4], eax
add eax, ebp
mov dword [esp + 0x6c], esi
mov ecx, 0x4e9430
mov dword [esp + 0x3c], eax
jmp 0x4b39f0
mov eax, dword [ecx]
imul dword [edi + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x30], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add edx, eax
shl edx, 1
mov dword [esi - 8], edx
mov eax, dword [ecx]
imul dword [edi + 0x18]
sub esi, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], edx
imul dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, eax
add edx, edx
sub eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [ecx + ebx]
imul dword [edi]
add ecx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add edx, eax
shl edx, 1
mov dword [esi], edx
mov eax, dword [edi + 8]
imul dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], edx
imul dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, eax
add edx, edx
sub eax, edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
sub edi, 0x20
add ecx, ebx
cmp edi, eax
jae 0x4b39f0
mov eax, dword [ecx + 4]
imul dword [edi + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
mov dword [esp + 0x30], edx
imul dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add edx, eax
shl edx, 1
mov dword [esi - 8], edx
mov eax, dword [edi + 0x18]
imul dword [ecx + 4]
sub esi, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov dword [esp + 0x38], edx
imul dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, eax
add edx, edx
sub eax, edx
mov dword [esi + 0xc], eax
sub ecx, ebx
mov eax, dword [ecx + 4]
imul dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], edx
imul dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add edx, eax
shl edx, 1
mov dword [esi], edx
mov eax, dword [edi + 8]
imul dword [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov dword [esp + 0x1c], edx
imul dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add edx, edx
add eax, eax
sub eax, edx
sub edi, 0x20
sub ecx, ebx
cmp edi, ebp
mov dword [esi + 4], eax
jae 0x4b3a90
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
lea edi, [ebp + ecx*4 - 0x20]
mov ecx, 0x4e9430
lea esp, [esp]
mov eax, dword [ecx + ebx]
imul dword [edi + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x10]
add ecx, ebx
mov dword [esp + 0x30], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add eax, eax
add edx, edx
sub eax, edx
mov dword [esi], eax
mov eax, dword [ecx]
imul dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], edx
imul dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add edx, eax
shl edx, 1
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
imul dword [ecx + ebx]
add ecx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], edx
imul dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add eax, eax
add edx, edx
sub eax, edx
mov dword [esi + 8], eax
mov eax, dword [ecx]
imul dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x3c]
shl edx, 1
mov dword [esi + 0xc], edx
sub edi, 0x20
add esi, 0x10
cmp edi, eax
jae 0x4b3b40
sub ecx, ebx
mov eax, dword [ecx + 4]
imul dword [edi + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
mov dword [esp + 0x30], edx
imul dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add eax, eax
add edx, edx
sub eax, edx
mov dword [esi], eax
mov eax, dword [edi + 0x10]
imul dword [ecx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov dword [esp + 0x38], edx
imul dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add edx, eax
shl edx, 1
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
sub ecx, ebx
imul dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov dword [esp + 0x24], edx
imul dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add eax, eax
add edx, edx
sub eax, edx
mov dword [esi + 8], eax
mov eax, dword [ecx + 4]
imul dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], edx
imul dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add edx, eax
shl edx, 1
mov dword [esi + 0xc], edx
sub edi, 0x20
add esi, 0x10
cmp edi, ebp
jae 0x4b3be1
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0xb4]
push esi
lea eax, [edi + ecx*4]
push ecx
push eax
mov dword [esp + 0xac], eax
call fcn.004b3290
mov eax, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0x70]
push edi
mov ecx, esi
call fcn.004b3340
mov edi, dword [esp + 0x80]
sar esi, 2
mov eax, esi
add esp, 0x14
sub eax, 0
mov ebx, edi
je 0x4b41b4
dec eax
je 0x4b3e47
cmp esi, 4
jl 0x4b3ce4
mov ecx, esi
sar ecx, 1
lea ecx, [ecx*4 + 0x4e9430]
jmp 0x4b3ce9
mov ecx, 0x4ea438
lea ebp, [esi*4]
mov esi, dword [esp + 0xb4]
add esi, 0xc
lea ebx, [ebx]
mov eax, dword [esi - 0xc]
imul dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [esi - 8]
neg eax
mov dword [esp + 0x30], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add edx, eax
shl edx, 1
mov dword [edi - 4], edx
mov eax, dword [esi - 8]
neg eax
imul dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [esi - 0xc]
sub edi, 0x10
mov dword [esp + 0x38], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, eax
add edx, edx
sub eax, edx
mov dword [ebx], eax
mov eax, dword [esi - 4]
imul dword [ecx + ebp]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
neg eax
add ecx, ebp
mov dword [esp + 0x24], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add edx, eax
shl edx, 1
mov dword [edi + 8], edx
mov eax, dword [esi]
neg eax
imul dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x1c], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, eax
add edx, edx
sub eax, edx
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
imul dword [ecx + ebp]
add ecx, ebp
mov dword [esp + 0x50], eax
mov eax, dword [esi + 8]
neg eax
mov dword [esp + 0x54], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
add edx, eax
shl edx, 1
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
neg eax
imul dword [ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x40], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
add eax, eax
add edx, edx
sub eax, edx
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
add ecx, ebp
imul dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
neg eax
mov dword [esp + 0x5c], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
add edx, eax
shl edx, 1
mov dword [edi], edx
mov eax, dword [esi + 0x10]
neg eax
imul dword [ecx]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x64], edx
imul dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
add edx, edx
add eax, eax
sub eax, edx
add esi, 0x20
mov dword [ebx + 0xc], eax
lea edx, [esi - 0xc]
add ecx, ebp
add ebx, 0x10
cmp edx, edi
jb 0x4b3d00
jmp 0x4b4508
mov esi, dword [esp + 0xb4]
xor eax, eax
mov ebp, 0x4ea438
mov dword [esp + 0x44], 0x3fffffff
mov dword [esp + 0x4c], 0x4e9438
add esi, 0xc
jmp 0x4b3e70
mov eax, dword [esp + 0x60]
mov edi, edi
mov ecx, dword [ebp]
mov edx, dword [esp + 0x44]
sar ecx, 1
add eax, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 4]
add ebp, 4
sar ecx, 1
add edx, ecx
mov dword [esp + 0x44], edx
cdq
mov dword [esp + 0x28], ecx
mov ecx, edx
mov dword [esp + 0x50], eax
mov eax, dword [esi - 0xc]
push ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x54]
cdq
push ecx
push edx
push eax
sub edi, 0x10
add ebp, 4
call fcn.004c0120
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
cdq
mov dword [esp + 0x3c], eax
mov eax, dword [esi - 8]
mov ecx, edx
push ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add edx, eax
shl edx, 1
mov dword [edi + 0xc], edx
mov eax, dword [esi - 8]
push ecx
mov ecx, dword [esp + 0x54]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esi - 0xc]
mov dword [esp + 0x3c], edx
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add edx, edx
lea ecx, [eax + eax]
mov eax, dword [esp + 0x58]
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [ebx], ecx
mov ecx, dword [edx]
sar ecx, 1
add eax, ecx
add edx, 4
mov dword [esp + 0x60], ecx
mov ecx, dword [edx]
add edx, 4
sar ecx, 1
add dword [esp + 0x28], ecx
mov dword [esp + 0x4c], edx
cdq
mov dword [esp + 0x44], ecx
mov ecx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
push ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x94], edx
cdq
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov ecx, edx
push ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
add edx, eax
shl edx, 1
mov dword [edi + 8], edx
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x1c]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x88], edx
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
add edx, edx
lea ecx, [eax + eax]
mov eax, dword [esp + 0x60]
sub ecx, edx
mov edx, dword [esp + 0x44]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp]
sar ecx, 1
add eax, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 4]
add ebp, 4
sar ecx, 1
add edx, ecx
mov dword [esp + 0x44], edx
cdq
mov dword [esp + 0x28], ecx
add ebp, 4
mov dword [esp + 0x50], eax
mov ecx, edx
mov eax, dword [esi + 4]
push ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x54]
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], edx
cdq
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
mov ecx, edx
push ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
add edx, eax
shl edx, 1
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x54]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x80], edx
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
add edx, edx
lea ecx, [eax + eax]
mov eax, dword [esp + 0x58]
sub ecx, edx
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
sar edx, 1
add eax, edx
add ecx, 4
mov dword [esp + 0x60], edx
mov edx, dword [ecx]
sar edx, 1
add dword [esp + 0x28], edx
mov dword [esp + 0x44], edx
cdq
add ecx, 4
mov dword [esp + 0x4c], ecx
mov ecx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
push ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x8c], edx
cdq
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
mov ecx, edx
push ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
add edx, eax
shl edx, 1
mov dword [edi], edx
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xa0], edx
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
add edx, edx
lea ecx, [eax + eax]
sub ecx, edx
add esi, 0x20
mov dword [ebx + 0xc], ecx
lea edx, [esi - 0xc]
add ebx, 0x10
cmp edx, edi
jb 0x4b3e6a
jmp 0x4b4508
mov esi, dword [esp + 0xb4]
xor ebp, ebp
mov ecx, 0x4ea438
mov edx, 0x7fffffff
mov dword [esp + 0x4c], 0x4e9438
add esi, 0xc
jmp 0x4b41e0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
lea esp, [esp]
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
add ecx, 4
sub eax, ebp
sar eax, 2
add ebp, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
sub eax, edx
sar eax, 2
add edx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov eax, ebp
cdq
add ecx, 4
mov ebp, eax
mov eax, dword [esi - 0xc]
mov dword [esp + 0x50], ecx
mov ecx, edx
push ecx
cdq
push ebp
push edx
push eax
sub edi, 0x10
mov dword [esp + 0x48], ecx
call fcn.004c0120
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], edx
cdq
mov dword [esp + 0x2c], eax
mov eax, dword [esi - 8]
mov ecx, edx
push ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x9c]
add edx, eax
shl edx, 1
mov dword [edi + 0xc], edx
mov eax, dword [esi - 8]
push ecx
neg eax
cdq
push ebp
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esi - 0xc]
mov ebp, edx
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x44], eax
lea eax, [ebp + ebp]
mov ebp, dword [esp + 0x60]
add edx, edx
sub eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x58]
sub eax, ebp
mov ebp, dword [esp + 0x28]
sub ebp, dword [esp + 0x3c]
cdq
mov ecx, edx
mov dword [esp + 0x34], eax
mov eax, dword [esi - 4]
push ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov eax, ebp
cdq
mov ebp, eax
mov eax, dword [esi]
mov ecx, edx
push ecx
neg eax
cdq
push ebp
push edx
push eax
mov dword [esp + 0x40], ecx
call fcn.004c0120
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x8c]
add edx, eax
shl edx, 1
mov dword [edi + 8], edx
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x38]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esi - 4]
push ecx
mov dword [esp + 0x80], edx
cdq
push ebp
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x4c]
add edx, edx
sub ecx, edx
mov dword [ebx + 4], ecx
mov ebp, dword [eax]
mov edx, dword [eax + 4]
add eax, 4
add eax, 4
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ecx, ebp
sub ecx, eax
sar ecx, 2
add eax, ecx
mov dword [esp + 0x60], ecx
mov ecx, edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x28]
sub ecx, edx
sar ecx, 2
add edx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], ecx
cdq
mov ecx, edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
push ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], edx
cdq
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
mov ecx, edx
push ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
add edx, eax
shl edx, 1
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x24]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x88], edx
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
lea ecx, [eax + eax]
add edx, edx
sub ecx, edx
mov edx, dword [esp + 0x3c]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x60]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x44]
sub ecx, edx
cdq
mov dword [esp + 0x28], ecx
mov ecx, edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
push ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x94], edx
cdq
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
mov ecx, edx
push ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
add edx, eax
shl edx, 1
mov dword [edi], edx
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
neg eax
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], edx
cdq
push ecx
push edx
push eax
call fcn.004c0120
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
add edx, edx
lea ecx, [eax + eax]
sub ecx, edx
add esi, 0x20
mov dword [ebx + 0xc], ecx
lea edx, [esi - 0xc]
add ebx, 0x10
cmp edx, edi
jb 0x4b41d4
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
lea ecx, [edx + ecx + 8]
mov edx, 2
mov eax, edi
sub edx, esi
lea edx, [eax + edx*4]
mov edi, edi
mov esi, dword [eax - 4]
mov dword [edx - 0xc], esi
sub eax, 0x10
neg esi
mov dword [ecx - 8], esi
mov esi, dword [eax + 8]
sub edx, 0x10
mov dword [edx], esi
neg esi
mov dword [ecx - 4], esi
mov esi, dword [eax + 4]
mov dword [edx - 4], esi
neg esi
mov dword [ecx], esi
mov esi, dword [eax]
mov dword [edx - 8], esi
neg esi
mov dword [ecx + 4], esi
add ecx, 0x10
lea esi, [ecx - 8]
cmp esi, eax
jb 0x4b4530
mov ecx, edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov edx, dword [ecx + 0xc]
sub eax, 0x10
mov dword [eax], edx
mov edx, dword [ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x90]
add ecx, 0x10
cmp eax, edx
ja 0x4b4571
add esp, 0x98
ret