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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x58]
push ebx
mov dx, word [0x83a922]
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x83a920]
xor ebp, ebp
cmp word [eax], cx
push edi
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], 0xffffffff
mov word [esp + 0x14], bp
mov word [esp + 0x16], bp
jne 0x49a3d3
cmp word [eax + 2], dx
je 0x49a3d9
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp word [esp + 0x14], cx
jne 0x49a3f1
cmp word [esp + 0x16], dx
jne 0x49a3f1
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x74]
test al, al
je 0x49a421
cmp word [esp + 0x14], cx
jne 0x49a407
cmp word [esp + 0x16], dx
je 0x49a421
mov ecx, dword [esp + 0x78]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, 0x81a800
call fcn.0054cc30
mov dword [esp + 0x18], eax
movsx eax, word [esp + 0x14]
movsx ecx, word [esp + 0x16]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], ecx
push edx
push eax
mov ecx, esi
call fcn.00545130
mov edx, dword [eax]
mov cx, word [esp + 0x14]
cmp cx, word [0x83a920]
mov edi, dword [eax + 4]
jne 0x49a469
mov ax, word [esp + 0x16]
cmp ax, word [0x83a922]
je 0x49a55b
mov ebx, dword [esi + 0x100]
mov ecx, dword [esi + 0xf8]
mov eax, edx
sub ebx, edx
sub eax, ecx
add ecx, ebx
cmp eax, ecx
mov dword [esp + 0x6c], eax
jl 0x49a487
mov eax, ecx
mov ebp, dword [esi + 0xfc]
lea ecx, [eax + eax]
mov dword [esp + 0x74], ecx
mov ecx, edi
lea edx, [ebp + ebp]
sub ecx, edx
mov edx, dword [esi + 0x104]
mov ebx, ecx
lea eax, [edx + ebp]
shl eax, 1
sub eax, edi
cmp ebx, eax
jl 0x49a4b1
mov ebx, eax
cmp dword [esp + 0x74], ebx
jge 0x49a50e
mov ecx, dword [esi + 0x100]
mov byte [esp + 0x12], 1
mov eax, ecx
mov byte [esp + 0x13], 0
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 1
cmp edx, eax
jge 0x49a4f4
sub edi, ebp
mov dword [esp + 0x74], 0xffffffff
mov ebx, 3
mov dword [esp + 0x68], 0
xor ebp, ebp
jmp 0x49a5f3
sub edi, ebp
mov dword [esp + 0x74], ecx
mov ebx, 1
mov dword [esp + 0x68], 0
xor ebp, ebp
jmp 0x49a5f3
lea edi, [edx + edx]
mov byte [esp + 0x12], 0
mov eax, edi
mov byte [esp + 0x13], 1
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x49a53f
mov edi, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x74], ebx
xor ebp, ebp
jmp 0x49a5f3
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x6c]
mov ebx, 2
mov dword [esp + 0x74], 0
xor ebp, ebp
jmp 0x49a5f3
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x74], ebp
mov eax, ebx
mov dword [esp + 0x68], ebp
dec eax
je 0x49a5c6
dec eax
je 0x49a59c
dec eax
je 0x49a57f
mov eax, dword [esi + 0x100]
mov byte [esp + 0x13], 1
jmp 0x49a5dd
mov eax, dword [esi + 0x104]
mov ecx, dword [0xa255a0]
shl eax, 1
push eax
mov byte [esp + 0x16], 1
push ebp
add ecx, 0x218
jmp 0x49a5eb
mov edx, dword [esi + 0x104]
mov ecx, dword [0xa255a0]
mov byte [esp + 0x13], 1
add ecx, 0x218
lea eax, [edx + edx + 2]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x100]
push eax
push 1
jmp 0x49a5eb
mov edx, dword [esi + 0x100]
mov eax, dword [esi + 0x104]
mov byte [esp + 0x12], 1
mov dword [esp + 0x74], edx
shl eax, 1
push eax
mov eax, dword [0xa255a0]
push 1
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov edi, eax
dec edi
mov eax, dword [esi + 0x100]
lea ecx, [esp + 0x1c]
cdq
sub eax, edx
lea edx, [esp + 0x2c]
sar eax, 1
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
call fcn.005450b0
mov ecx, eax
mov eax, dword [ecx]
mov word [esp + 0x6c], ax
mov al, byte [esp + 0x12]
mov ecx, dword [ecx + 4]
mov word [esp + 0x6e], cx
mov edx, dword [esp + 0x6c]
test al, al
mov dword [esp + 0x6c], edx
je 0x49a724
mov ecx, dword [esi + 0x104]
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 2
shl ecx, 1
dec ebx
test ecx, ecx
jle 0x49a6fc
mov eax, dword [esp + 0x74]
add ebx, eax
mov dword [esp + 0x1c], ebx
lea eax, [edi + ebp]
cdq
idiv ecx
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x34]
mov dword [esp + 0x24], ecx
mov ecx, esi
mov ebx, edx
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x30], ebx
call fcn.005450b0
mov ecx, eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov word [esp + 0x68], ax
mov word [esp + 0x6a], cx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, esi
call fcn.005450b0
mov edx, eax
mov eax, dword [edx]
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x78]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x70]
mov word [esp + 0x66], cx
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x6c]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, esi
call fcn.0049aa20
test al, al
jne 0x49a710
mov ecx, dword [esi + 0x104]
inc ebp
shl ecx, 1
cmp ebp, ecx
jl 0x49a663
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x4c
ret 0x1c
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x4c
ret 0x1c
mov al, byte [esp + 0x13]
test al, al
je 0x49a6fc
mov eax, ebx
neg eax
sbb eax, eax
and al, 0xfe
inc eax
cmp ebx, 2
jne 0x49a946
push ebp
push ebp
lea ecx, [esp + 0x4c]
call fcn.0042d4a0
mov eax, dword [esi + 0x100]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x44], vtable.DynamicVectorClass_class_Cell_.0
mov dword [esp + 0x58], 0xa
mov dword [esp + 0x54], ebp
jle 0x49a840
mov ebp, dword [esp + 0x70]
xor edi, edi
mov eax, dword [esi + 0x104]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], ebx
lea ecx, [edi + eax*2]
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ecx
push eax
mov ecx, esi
call fcn.005450b0
mov ecx, eax
lea edx, [esp + 0x74]
push 1
push edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov word [esp + 0x7c], ax
mov word [esp + 0x7e], cx
mov ecx, esi
call fcn.00557300
test al, al
jne 0x49a7db
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
push ebp
lea eax, [esp + 0x80]
push edx
push eax
mov ecx, esi
call fcn.0049aa20
test al, al
jne 0x49a7e3
inc edi
cmp edi, 0xf
jl 0x49a773
jmp 0x49a82d
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
cmp eax, ecx
jl 0x49a817
mov al, byte [esp + 0x51]
test al, al
jne 0x49a7fb
test ecx, ecx
jne 0x49a82d
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x49a82d
mov edx, dword [esp + 0x44]
add ecx, eax
push 0
push ecx
lea ecx, [esp + 0x4c]
call dword [edx + 8]
test al, al
je 0x49a82d
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
mov eax, ecx
inc ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
mov dword [ecx + eax*4], edx
mov eax, dword [esi + 0x100]
inc ebx
cmp ebx, eax
jl 0x49a771
mov ebp, dword [esp + 0x54]
mov ax, word [esp + 0x14]
mov edx, dword [0x83a920]
mov cx, word [esp + 0x16]
cmp ax, dx
jne 0x49a890
cmp cx, word [0x83a922]
jne 0x49a890
test ebp, ebp
jle 0x49a886
mov eax, dword [0xa255a0]
dec ebp
push ebp
push 0
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x6c], ecx
jmp 0x49a90d
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x48]
jmp 0x49a90d
mov ebx, edx
mov edx, dword [esp + 0x54]
or esi, 0xffffffff
xor edi, edi
test edx, edx
mov edx, dword [esp + 0x48]
jle 0x49a909
jmp 0x49a8af
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x16]
sub cx, word [edx + edi*4 + 2]
sub ax, word [edx + edi*4]
sub esp, 8
movsx edx, cx
movsx eax, ax
mov dword [esp + 0x7c], edx
fild dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov edx, dword [esp + 0x48]
cmp esi, 0xffffffff
movsx eax, ax
je 0x49a8ff
cmp eax, esi
jge 0x49a904
mov ebx, dword [edx + edi*4]
mov esi, eax
inc edi
cmp edi, ebp
jl 0x49a8a5
mov dword [esp + 0x6c], ebx
test edx, edx
mov dword [esp + 0x44], vtable.VectorClass_class_Cell_.0
je 0x49a6fc
mov al, byte [esp + 0x51]
test al, al
je 0x49a6fc
push edx
call fcn.0076d2d5
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
add esp, 4
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c
mov ecx, dword [esi + 0x100]
test ecx, ecx
jle 0x49a6fc
mov edx, dword [esp + 0x68]
add eax, edx
mov dword [esp + 0x1c], eax
lea eax, [edi + ebp]
cdq
idiv ecx
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [esp + 0x34], eax
mov ebx, edx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x34], ebx
call fcn.005450b0
mov ecx, eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov word [esp + 0x74], ax
mov word [esp + 0x76], cx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.005450b0
mov edx, eax
mov eax, dword [edx]
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x78]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x70]
mov word [esp + 0x66], cx
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x6c]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, esi
call fcn.0049aa20
test al, al
jne 0x49aa0c
mov ecx, dword [esi + 0x100]
inc ebp
cmp ebp, ecx
jl 0x49a95e
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x4c
ret 0x1c
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x4c
ret 0x1c