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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov cl, byte [eax + 0xada]
xor ebx, ebx
test cl, cl
push edi
mov dword [esp + 0x24], esi
je 0x4ef8e8
mov ecx, dword [0x821b68]
mov word [esp + 0x24], bx
add ecx, 0x790
mov word [esp + 0x26], bx
push ecx
mov ecx, esi
call fcn.004ee9b0
mov ecx, eax
call fcn.004585b0
mov edx, dword [0x821b68]
mov edi, eax
add edx, 0x790
push ebx
push edx
mov ecx, esi
add edi, 2
call fcn.004ee9b0
mov ecx, eax
call fcn.004585c0
mov ecx, eax
mov eax, dword [esi + 0x53bc]
cdq
and edx, 0xff
push ebx
add eax, edx
add ecx, 2
sar eax, 8
mov word [esp + 0x1c], ax
mov eax, dword [esi + 0x53c0]
cdq
and edx, 0xff
add eax, edx
lea edx, [esp + 0x28]
push edx
push 1
push ebx
push ebx
sar eax, 8
push ebx
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x30]
push ecx
push edi
push ebx
mov dword [esp + 0x40], eax
push ebx
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push 5
lea ecx, [esp + 0xbc]
push eax
push ecx
mov ecx, 0x81a800
call fcn.0054d620
mov eax, dword [eax]
cmp ax, word [0xa28b3c]
mov dword [esp + 0x10], eax
jne 0x4ef860
mov dx, word [esp + 0x12]
cmp dx, word [0xa28b3e]
je 0x4ef8d8
mov esi, dword [esi + 0x54]
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4ef8d8
mov eax, dword [ecx]
lea edx, [esp + 0xa4]
push edx
call dword [eax + 0x48]
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov ecx, 0x81a800
call fcn.005453b0
mov edx, dword [eax]
lea ecx, [esp + 0xcc]
push ecx
mov ecx, eax
call dword [edx + 0x48]
lea edx, [esp + 0x94]
push esi
push edx
mov ecx, eax
call fcn.004347b0
mov ecx, eax
call fcn.0041b780
mov ecx, dword [0x821b68]
mov edx, dword [ecx + 0xc00]
shl edx, 8
cmp eax, edx
jle 0x4ef8d4
mov eax, dword [ebp + 8]
mov ecx, dword [0xa28b3c]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.0042d4a0
cmp word [esi + 0x5640], bx
mov dword [esp + 0x3c], vtable.DynamicVectorClass_class_Cell_.0
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x4c], ebx
jne 0x4ef96c
cmp word [esi + 0x5642], bx
jne 0x4ef96c
mov eax, dword [esi + 0x53bc]
lea ecx, [esp + 0x3c]
cdq
and edx, 0xff
mov dword [esp + 0x3c], vtable.VectorClass_class_Cell_.0
add eax, edx
sar eax, 8
mov word [esp + 0x18], ax
mov eax, dword [esi + 0x53c0]
cdq
mov esi, dword [ebp + 8]
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x1a], ax
mov edx, dword [esp + 0x18]
mov dword [esi], edx
call fcn.0042cfb0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebx
call fcn.0042cfb0
mov eax, dword [esi + 0x5620]
xor edi, edi
cmp eax, ebx
jle 0x4efab9
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x5614]
mov dl, byte [ecx + 0x1361]
mov eax, dword [eax + edi*4]
test dl, dl
mov dword [esp + 0x10], eax
jne 0x4ef9cd
mov edx, dword [ebp + 0x14]
mov ecx, esi
push edx
push edi
lea edx, [esp + 0x18]
call dword [ebp + 0x10]
mov ebx, eax
jmp 0x4efa5b
movsx ecx, word [esp + 0x12]
mov edx, dword [esi + 0x53bc]
sub esp, 8
movsx eax, ax
shl eax, 8
add eax, 0x80
shl ecx, 8
sub edx, eax
mov eax, dword [esi + 0x53c0]
add ecx, 0x80
mov dword [esp + 0xac], edx
fild dword [esp + 0xac]
sub eax, ecx
mov ecx, dword [esi + 0x53c4]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
fild dword [esp + 0xb0]
fild dword [esp + 0xb4]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea ebx, [edi + edx*8]
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x30]
cmp ecx, eax
jle 0x4efa81
test eax, eax
jne 0x4efa73
mov eax, 0xa
push eax
lea ecx, [esp + 0x2c]
call fcn.004f8010
test al, al
je 0x4efaaa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [edx + eax*8], ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [esp + 0x2c]
inc eax
mov byte [esp + 0x34], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x5620]
inc edi
cmp edi, eax
jl 0x4ef99e
mov ecx, dword [esp + 0x2c]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x20], edi
jle 0x4efb59
mov al, byte [esp + 0x34]
test al, al
jne 0x4efaf1
push 0x4f80a0
push 8
push ecx
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0076d2e0
add esp, 0x10
mov dword [esp + 0x38], edi
mov byte [esp + 0x34], 1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
lea ebx, [edx + eax*8 + 4]
mov eax, dword [esp + 0x44]
cmp ecx, eax
jl 0x4efb30
mov cl, byte [esp + 0x49]
test cl, cl
jne 0x4efb15
cmp eax, edi
jne 0x4efb44
mov ecx, dword [esp + 0x50]
cmp ecx, edi
jle 0x4efb44
mov edx, dword [esp + 0x3c]
add eax, ecx
push edi
push eax
lea ecx, [esp + 0x44]
call dword [edx + 8]
test al, al
je 0x4efb44
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov eax, ecx
inc ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4efacb
lea eax, [esi + 0x5640]
mov ecx, 0x81a800
push eax
call fcn.005453b0
mov ecx, dword [esi + 0x30]
mov ebx, 1
movsx eax, byte [eax + 0x11b]
shl ebx, cl
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x8c], ebx
test ecx, ecx
mov dword [esp + 0x20], 0
jle 0x4f00e8
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
xor edi, edi
mov eax, dword [ecx + edx*4]
mov word [esp + 0x10], di
mov dword [esp + 0xcc], eax
mov word [esp + 0x12], di
mov ecx, edi
lea edx, [esp + 0xe8]
and ecx, 7
lea esi, [ecx*4 + 0x839d80]
lea ecx, [esp + 0xcc]
push esi
push edx
call fcn.0042add0
mov eax, dword [eax]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, 0x81a800
mov dword [esp + 0xbc], eax
call fcn.005453b0
test dword [eax + 0xdc], ebx
je 0x4efc1b
lea edx, [esp + 0xec]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.0042add0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
inc edi
cmp edi, 8
jl 0x4efbbf
mov ax, word [esp + 0x10]
mov cx, word [esp + 0x12]
test ax, ax
jne 0x4efc39
test cx, cx
je 0x4f00d3
movsx eax, ax
neg eax
mov dword [esp + 0xa4], eax
sub esp, 8
fild dword [esp + 0xac]
movsx eax, cx
fstp qword [esp]
neg eax
neg eax
mov dword [esp + 0x20], eax
sub esp, 8
fild dword [esp + 0x28]
fstp qword [esp]
call fcn.004ba120
fsub qword [0x786630]
add esp, 0x10
fmul qword [0x786628]
call fcn.0076a6b0
mov edi, dword [ebp + 0xc]
mov word [esp + 0xc4], ax
mov esi, dword [esp + 0xc4]
xor eax, eax
shr esi, 0xc
inc esi
mov ecx, edi
shr esi, 1
and esi, 7
mov word [esp + 0x94], ax
mov word [esp + 0x96], ax
call fcn.004585b0
mov ebx, eax
push 0
mov ecx, edi
mov dword [esp + 0xc0], ebx
call fcn.004585c0
mov cl, byte [edi + 0x13e5]
mov dword [esp + 0xc0], eax
test cl, cl
jne 0x4efce5
mov cl, byte [edi + 0x121b]
test cl, cl
jne 0x4efce5
xor cl, cl
jmp 0x4efce7
mov cl, 1
mov edx, dword [0x821b68]
test cl, cl
mov edi, dword [edx + 0x10c8]
je 0x4efcf8
inc edi
cmp esi, 1
jl 0x4efd0c
cmp esi, 3
jg 0x4efd0c
mov word [esp + 0x94], di
jmp 0x4efd27
cmp esi, 5
jl 0x4efd27
cmp esi, 7
jg 0x4efd27
mov ecx, 1
sub ecx, ebx
sub ecx, edi
mov word [esp + 0x94], cx
cmp esi, 3
jl 0x4efd3e
cmp esi, 5
jg 0x4efd3e
lea edx, [edi + 1]
mov word [esp + 0x96], dx
jmp 0x4efd59
cmp esi, 7
jge 0x4efd48
cmp esi, 1
jg 0x4efd59
mov ecx, 1
sub ecx, eax
sub ecx, edi
mov word [esp + 0x96], cx
mov dword [esp + 0x18], 0
mov al, byte [0xa28b38]
test al, 1
jne 0x4efe5f
mov dl, al
or eax, 0xffffffff
or dl, 1
xor ecx, ecx
mov byte [0xa28b38], dl
mov word [esp + 0x80], ax
mov word [esp + 0x82], cx
mov edx, dword [esp + 0x80]
mov dword [0xa28b88], edx
mov word [esp + 0x5c], ax
mov word [esp + 0x5e], ax
mov edx, dword [esp + 0x5c]
mov dword [0xa28b8c], edx
mov word [esp + 0xb4], cx
mov word [esp + 0xb6], ax
mov edx, dword [esp + 0xb4]
mov ebx, 1
mov dword [0xa28b90], edx
mov word [esp + 0xb0], bx
mov word [esp + 0xb2], ax
mov edx, dword [esp + 0xb0]
mov word [esp + 0x7c], bx
mov dword [0xa28b94], edx
mov word [esp + 0x7e], cx
mov edx, dword [esp + 0x7c]
mov word [esp + 0x84], bx
mov dword [0xa28b98], edx
mov word [esp + 0x86], bx
mov edx, dword [esp + 0x84]
mov word [esp + 0x68], cx
mov dword [0xa28b9c], edx
mov word [esp + 0x6a], bx
mov ecx, dword [esp + 0x68]
mov word [esp + 0x88], ax
mov word [esp + 0x8a], bx
mov edx, dword [esp + 0x88]
push 0x4f01d0
mov dword [0xa28ba0], ecx
mov dword [0xa28ba4], edx
call fcn.0076df1a
add esp, 4
jmp 0x4efe64
mov ebx, 1
mov al, byte [0xa28b38]
test al, 2
jne 0x4eff3e
xor ecx, ecx
mov dl, al
mov word [esp + 0x70], bx
mov word [esp + 0x72], cx
mov eax, dword [esp + 0x70]
mov word [esp + 0x78], cx
mov dword [0xa28ba8], eax
mov word [esp + 0x7a], bx
mov eax, dword [esp + 0x78]
or dl, 2
mov byte [0xa28b38], dl
mov word [esp + 0xa0], bx
mov word [esp + 0xa2], bx
mov edx, dword [esp + 0xa0]
mov dword [0xa28bb0], eax
or eax, 0xffffffff
mov dword [0xa28bac], edx
mov word [esp + 0x90], ax
mov word [esp + 0x92], bx
mov edx, dword [esp + 0x90]
mov dword [0xa28bb4], edx
mov word [esp + 0x58], ax
mov word [esp + 0x5a], cx
mov edx, dword [esp + 0x58]
mov dword [0xa28bb8], edx
mov word [esp + 0x60], ax
mov word [esp + 0x62], ax
mov edx, dword [esp + 0x60]
mov dword [0xa28bbc], edx
mov word [esp + 0x64], cx
mov word [esp + 0x66], ax
mov ecx, dword [esp + 0x64]
mov word [esp + 0x6c], bx
mov word [esp + 0x6e], ax
mov edx, dword [esp + 0x6c]
push 0x4f01c0
mov dword [0xa28bc0], ecx
mov dword [0xa28bc4], edx
call fcn.0076df1a
add esp, 4
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xce]
add eax, ecx
mov ecx, dword [esp + 0x96]
add ax, word [esi*4 + 0xa28b88]
add edx, ecx
mov cx, word [esi*4 + 0xa28b8a]
add cx, dx
mov word [esp + 0x54], ax
mov eax, dword [esp + 0x18]
mov word [esp + 0x56], cx
mov edx, dword [esp + 0x54]
cmp eax, ebx
mov dword [esp + 0x14], edx
jne 0x4effcc
lea eax, [esi - 4]
and eax, 7
lea edx, [eax*4 + 0x839d80]
mov ax, word [eax*4 + 0x839d80]
mov dx, word [edx + 2]
add ax, word [esp + 0x54]
add dx, cx
mov ecx, dword [0x821b68]
mov word [esp + 0x76], dx
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10c8]
sub edi, eax
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x16]
xor ebx, ebx
movsx edx, ax
movsx eax, cx
mov ecx, dword [esp + 0xbc]
sub edx, edi
sub eax, edi
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xdc], eax
lea eax, [ecx + edi*2]
mov dword [esp + 0xe0], eax
lea eax, [edx + edi*2]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xd8]
mov ecx, dword [eax + 0x30]
push ecx
push edx
mov ecx, 0x81a800
call fcn.00565350
test al, al
je 0x4f008c
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
push edx
lea edx, [esp + 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0xa8]
test al, al
je 0x4f008c
lea eax, [esp + 0x14]
mov ecx, 0x81a800
push eax
call fcn.005453b0
movsx ecx, byte [eax + 0x11b]
mov eax, dword [esp + 0xc8]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jge 0x4f008c
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004f46d0
test al, al
jne 0x4f015d
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x16]
add ax, word [esi*4 + 0xa28ba8]
add cx, word [esi*4 + 0xa28baa]
inc ebx
cmp ebx, 3
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
jl 0x4effd8
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x4efd61
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4efba1
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jl 0x4efb91
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
xor esi, esi
push ecx
mov word [esp + 0x20], si
mov word [esp + 0x22], si
mov eax, dword [esp + 0x20]
mov dword [edi], eax
call fcn.0076d2d5
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], vtable.VectorClass_class_Cell_.0
je 0x4f0152
mov cl, byte [esp + 0x49]
test cl, cl
je 0x4f0152
push eax
call fcn.0076d2d5
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push edx
mov dword [esi], ecx
call fcn.0076d2d5
mov ecx, dword [esp + 0x44]
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], vtable.VectorClass_class_Cell_.0
je 0x4f01aa
mov al, byte [esp + 0x49]
test al, al
je 0x4f01aa
push ecx
call fcn.0076d2d5
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10